XP is just a number | |
PerlMonks |
Re^5: Help with Double Double Quotes regular expression (failing)by pKai (Priest) |
on Apr 02, 2007 at 22:23 UTC ( [id://607935]=note: print w/replies, xml ) | Need Help?? |
I noticed that your sample $s is a non-matching one. Did you take that on purpose to emphasise on cutting off backtracking in the failing case? When I balance the (double)quotes in $s by adding one in last position (directly before the closing parentheses of q,) "straight" seems to have a slight edge over "cut" I got similar figures as you for your original $s
In Section
Seekers of Perl Wisdom
|
|