I did not know there was a difference between \1 and $1 inside a regular expression
OK, I'll bite :-) I know that \1 can appear in the match (left) part of a substitution (s///) but $1 can only appear in the replacement. Are there other differences?
In reply to Re: YAPC::NA::2003::mandog
by grantm
in thread YAPC::NA::2003::mandog
by mandog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |