mono/mono — pull request #432 by robwilkens (2012-08-18 11:56:33+00:00)
Title: This is an attempt to fix bug 6198, which itself is an attempt to refix

bug 2663.

This was the regex condition with the alternative or options.

With this fix in place, runtime on the SlowRegEx in 6198 is reduced from
22 seconds to 13 seconds, or almost cut in half on my computer as
measured using the 'time' command.

Also, this passes all the relevant unit tests, it seems, including the
ones i added for bug 2663.