XP is just a number | |
PerlMonks |
Re^3: Calculate prime factors for a given numer in a perl one-linerby moritz (Cardinal) |
on Dec 16, 2010 at 09:22 UTC ( [id://877454]=note: print w/replies, xml ) | Need Help?? |
I didn't investigate it thoroughly, but I think it's not the non-greediness. Rather the + in the regex is compiled to {1,32767}, which is a general limit of the 16 bit heritage of the regex engine.
In Section
Seekers of Perl Wisdom
|
|