in reply to Re^4: Matching Character Patterns With Backreferences
in thread Matching Character Patterns With Backreferences

What? Yes I'm sure. Of course you should use $1 on the right hand side of the s/// operator, as thats merely a double quoted string. The warning in perlre is regards to using \1 on the right hand side, which only works because of a hack.

Replies are listed 'Best First'.
Re^6: Matching Character Patterns With Backreferences
by gaal (Parson) on Dec 07, 2004 at 15:10 UTC
    Gah, yes, of course. A thinko on my part.