There's more than one way to do things | |
PerlMonks |
Re: Re: This looks like someone sneezed and hit the keyboardby MCS (Monk) |
on Feb 03, 2004 at 16:54 UTC ( [id://326248]=note: print w/replies, xml ) | Need Help?? |
I would bet the original author probably meant to group the or's together an in that case it could be made a little faster by changing the first ( to (?: (which makes it not save the match into $1) Unless of course there is a $1 soon after the regex... in that case it was probably meant to capture it.
In Section
Seekers of Perl Wisdom
|
|