- Code: Select all
([a-z]+)\s\1
Does sublime's regex engine support back reference? Can anyone familar with this tell me which metacharacters are supported by sublime? Thanks.
([a-z]+)\s\1([a-z]+)\s\1([a-z]+)\sjps wrote:Putting aside any crashing issues, the regex isn't working as desired in the current version of sublime: back references have been inadventantly disabled in the current build. This will be fixed in the next version.
I'm unable to get any crashes though (other than with an empty buffer), so if someone has a file that reliable triggers it, I'm keen to be sent a copy.
Charles City
Colonial Heights City
Essex
Gloucester
James City
King and Queen
King William
Lancaster
Mathews
Middlesex
New Kent
Northumberland
Richmond
Westmoreland
Williamsburg City
York
Users browsing this forum: No registered users and 13 guests