good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Improve processing time for string substitutionsby Anno (Deacon) |
on Apr 16, 2007 at 15:46 UTC ( [id://610384]=note: print w/replies, xml ) | Need Help?? |
Is there a reason for the non-capturing parens in "$re = qr/(?:$re)/;"?
What good does the /e switch do in the regex "s/($re)/$entitylist{ $1 }/ge;"? Anno
In Section
Seekers of Perl Wisdom
|
|