Support regular expression backreferences
Posted: Thu Dec 27, 2007 5:38 am
Request: Add the ability to use regular expression backreferences to the text replace and replace in files capabilities.
Detail: In the Edit->Replace dialog box, the use of regular expressions is supported for the Find field, including the use of groups and backreferences. However, the backreferences are NOT supported in the Replace With field.
Example: I have a set of numbers which I need to change to literal strings in a piece of code. The following replace settings (with regular expressions and replace codes enabled) does not but should work:
Find: ^(110dd)
Replace with: "1"
Detail: In the Edit->Replace dialog box, the use of regular expressions is supported for the Find field, including the use of groups and backreferences. However, the backreferences are NOT supported in the Replace With field.
Example: I have a set of numbers which I need to change to literal strings in a piece of code. The following replace settings (with regular expressions and replace codes enabled) does not but should work:
Find: ^(110dd)
Replace with: "1"