XP is just a number | |
PerlMonks |
Re: Compare two regex patternsby Bloodrage (Monk) |
on Mar 06, 2008 at 08:46 UTC ( [id://672400]=note: print w/replies, xml ) | Need Help?? |
Actually your regular expressions are:
* is "any number of" the preceding character, including zero. Hence: /x+/ == /xx*/ Apart from the pedantry, I'm afraid don't have an answer for your question. no flames if this changed for 5.10, because that's the Perl I live in.
In Section
Seekers of Perl Wisdom
|
|