Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: Analyzing regular expression performanceby Sprad (Hermit) |
on May 12, 2006 at 16:54 UTC ( [id://549063]=note: print w/replies, xml ) | Need Help?? |
Changing the $sp regex to (?:\s*) cut runtime to almost nothing, so it looks like that's where my problem is.
I do need to allow comments anywhere in the string, though -- including having comments right after comments. Is there a cleaner way of doing that?
---
In Section
Seekers of Perl Wisdom
|
|