Ticket #995 (new enhancement)
Opened 3 years ago
regex replace should support $1, $2, ...
|Reported by:||zenogantner||Owned by:|
|Keywords:||search, replace, regex||Cc:|
When using regex search, it should be possible to replace the found text with the content of captured buffers, denoted by $1, $2, etc.
I guess this also the behavior that Perl developers expect:
If you use regexes for replacing stuff, you expect $n to work ...