Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Single regexby Anonymous Monk |
on Jan 11, 2013 at 02:37 UTC ( [id://1012781]=note: print w/replies, xml ) | Need Help?? |
Use one of Regexp::Assemble/Regexp::Trie/Regex::PreSuf to assemble an efficient regex then make a single substitution pass or $regex = join '|', map \"emeta, @tv;
In Section
Seekers of Perl Wisdom
|
|