Page 1 of 1

backslash for numbered backreferences in regex

Posted: Sun Apr 17, 2011 10:11 pm
by Frank
Is it possible to make Textcrawler accept \1 for $1 to make it more compatible with other regex implementations?

Maybe internally replacing \ with $ before a number, but not inside []-brackets....


Posted: Sun Apr 17, 2011 10:22 pm
by Frank
At second thought, mixing up different regex dialects might be hard to implement in a fail-safe way, so maybe rather not...