in reply to Re: Superfluous options in regex alternations.
in thread Superfluous subpatterns in regex alternations.

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.

---
demerphq

  • Comment on Re^2: Superfluous options in regex alternations.