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 reply to Re: Single regex
by Anonymous Monk
in thread Single regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |