Add some tests for the regex optimizer
authorKarl Williamson <public@khwilliamson.com>
Mon, 23 Sep 2013 04:46:10 +0000 (22:46 -0600)
committerKarl Williamson <public@khwilliamson.com>
Tue, 24 Sep 2013 17:36:20 +0000 (11:36 -0600)
commit709d08c260756e5abe6f419788f6eca9282da26b
tree9cb4d4fa2d22ed969cebc634cb2fc62994b3c910
parentcfafade59059f2ad7828285e85e1a3d6629b60b0
Add some tests for the regex optimizer

We don't have the infrastructure to test the regex optimizer, and I'm
not sure how to do it properly, without tying the tests to particular
optimizations.  What I did, however, was to go through the recently
changed optimizer code and write tests to exercise every branch, as far
as I could tell.
t/re/pat_advanced.t
t/re/re_tests