http://www.perlmonks.org?node_id=840660


in reply to Re: Unefficient Regexp 'Matching this or that'
in thread Unefficient Regexp 'Matching this or that'

Maybe it shoudl be possible to disable the trie optimisation for thos cases of alternation where it doesn't benefit.
Maybe you can disable trie optimizations by setting ${^RE_TRIE_MAXBUF} = 0?
Perl 6 - links to (nearly) everything that is Perl 6.