![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Regex combining /(foo|bar)/ slower than using foreach (/foo/,/bar/) ???by Roy Johnson (Monsignor) |
on Feb 18, 2005 at 13:14 UTC ( #432312=note: print w/replies, xml ) | Need Help?? |
No, Perl compiles the regex once where it is defined with qr.
Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom
|
|