XP is just a number | |
PerlMonks |
Re: Re: Determing what part of a regex matched.by Anonymous Monk |
on Mar 06, 2003 at 03:37 UTC ( [id://240795]=note: print w/replies, xml ) | Need Help?? |
Yes you're right. Shame on me for write a quick example without running it first. An interesting thought. Wouldn't it be kind of brittle if the regex introduced another () all of the numbers would have to be shifted? My regexs are more complex then these and occasionally have a few parens in them.
In Section
Seekers of Perl Wisdom
|
|