Note: There is a module which does this with optimization: Regexp::Trie. And there is a fancier Regexp::Assemble.
Good Day,
Dean
In reply to Re: [RFC] Building Regex Alternations Dynamically
by duelafn
in thread Building Regex Alternations Dynamically
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |