The documentation for Regexp::Assemble says:
"Note that Perl's own regular expression engine will implement trie optimisations in perl 5.10"
So a simple alternation may be just as fast now.
In reply to Re^2: array matching
by Anonymous Monk
in thread array matching
by polsum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |