But you used \1 in the replacement part of a substitution
Oh!
So it's a conceptual problem...I was thinking of the whole of the substitution as being part of the regex...
In reply to Re^2: Capture Groups
by Bod
in thread Capture Groups
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |