Hello, good evening all!
I have some text with two words per line like
- abc - def -
- ghi - ghi -
…
I want to select the line where the two words are equal: here, ghi
In, for instance, python re, I would use something like
re.sub(r'\- (?P<stem>[a-z]+ \- (?P=stem) \-', ...)
But I can’t use this syntax in Sublime Text’s find/replace I get the message “invalid or unterminated PERL sequence”
Is there another way to do it ?
Thanks !