in reply to Building Regex Alternations Dynamically
Note: There is a module which does this with optimization: Regexp::Trie. And there is a fancier Regexp::Assemble.
Good Day, Dean
ReNote: Both modules are mostly obsolete since demerphq implemented trie optimization in Perl's regex engine (>=5.9.2)
see http://taint.org/2006/07/07/184022a.html for details
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
www.com | www.net | www.org
No recent polls found