Ok, I must have been suffering from a mental block on this one. I dont know how I didnt come up with these (and gaals).
Just for the record im trying to come up with a way to make Perls regex engine optimize subpatterns of the type (LIST|OF|LITERAL|STRINGS), I had overlooked the implications of backtracking for this, and you've now set me straight. Thanks.
In reply to Re^2: Superfluous options in regex alternations.
by demerphq
in thread Superfluous subpatterns in regex alternations.
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |