in reply to Re: •Re: Re: Regular expressions Containing Octal values?
in thread Regular expressions Containing Octal values?

Ahh, I totally missed that we were talking about the RHS (a qq string) instead of the LHS (a qr string). In that case, $1 (and in this case, ${1}) are the only things that should be used. The \1 construct works only as an error-correction DWIM that as shown can be sometimes ambiguous.

-- Randal L. Schwartz, Perl hacker

  • Comment on •Re: Re: •Re: Re: Regular expressions Containing Octal values?