"Timothy Johnson" schreef:

You should south-post. You should trim.

> \1 is the same thing as $1 inside of a regex, but it is generally
> recommended that you don't use it.

That is a misinterpretation. It is OK (and efficient) to use the
backreferences \1, \2, \3 etc. in a regex.

The \1 (as a backreference) should not be used in the replacement part
of a "s/regex/replacement/".

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to