I’m really really glad that Lucas Trzesniewski has answered this:
While most regex flavours have roughly a similar syntax for the basic features, there is not a clear standard as to the syntax of the replacement strings. Some tools use
\1for referencing strings, others use$1and so on.As you use Notepad++, you should know it uses the boost library for its regex implementation, and it uses the Boost-Extended format string for the replacement pattern.
In particular, the placeholder for the nth capture group is
$n.
And my comment:
Thanks a lot for that. I found a bit more information about back references and capture groups in various libraries on regular-expressions.info/replacebackref.html.
on my question: Read the rest of this entry »





