in reply to Re: How to do regex backreferences within $variable replacement text?
in thread How to do regex backreferences within $variable replacement text?

I tried that, unfortunately it didn't work. I got:

before: abcabcabc
after: ---$1---bc---$1---bc---$1---bc

The "$1" is getting interpreted literally, not as a backreference.
  • Comment on Re^2: How to do regex backreferences within $variable replacement text?