Keep It Simple, Stupid | |
PerlMonks |
Re: Re: Re: (GOLF) - multiple digit finder regex - 17 charsby particle (Vicar) |
on Feb 03, 2002 at 04:39 UTC ( [id://143021]=note: print w/replies, xml ) | Need Help?? |
(\1 on the right hand side of a substitution, with the same meaning as $1, has been deprecated for quite some time.) yeah. that's how i was used to seeing \1. from people learning perl who are used to vi, ex, etc. on the right hand side, it's a no-no. although, there's a problem with the explanation of your first example. $1 can't hold 'c', it's nowhere to be found. but i understand the difference now. docs are good. ~Particle
In Section
Seekers of Perl Wisdom
|
|