in reply to Re: Regex'ing backreferences
in thread Regex'ing backreferences

What about "foohellofoobarfoo"? You should be matching and putting "hello" into $1, but your new version won't.
  • Comment on RE (tilly) 2 (still wrong): Regex'ing backreferences