![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re^2: Regex style and efficiencyby bobf (Monsignor) |
on Jan 10, 2010 at 22:23 UTC ( #816652=note: print w/replies, xml ) | Need Help?? |
Nice. It didn't even occur to me to use substr/index for this. I also like how you used the non-capturing look-ahead to prevent the desired text from being included in the s///. Thanks!
In Section
Seekers of Perl Wisdom
|
|