johnturek / advanced-find

Automatically exported from code.google.com/p/advanced-find
0 stars 0 forks source link

Regex Backreferences #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Place a group in a Find regex .+(doc).+
2. Use a backreference \1 (or $1) to reuse the group in  Replace
3.

You expect the group to be reused in the Replace regex. 

It's not - the \1 (or $1) is treated literally in the replace

Linux, Advanced Find 0.5.4

Please provide any additional information below.

Original issue reported on code.google.com by pam.indi...@gmail.com on 5 Dec 2010 at 11:56

GoogleCodeExporter commented 9 years ago
Regex group replace is not supported.

Original comment by swatch.c...@gmail.com on 6 Dec 2010 at 4:19

GoogleCodeExporter commented 9 years ago
This feature is added at v0.6.0.

Original comment by swatch.c...@gmail.com on 13 Dec 2010 at 12:41

GoogleCodeExporter commented 9 years ago

Original comment by swatch.c...@gmail.com on 12 Jan 2011 at 2:47