regcomp.c: Tighten optimizer for /li matches
authorKarl Williamson <public@khwilliamson.com>
Mon, 23 Sep 2013 04:36:57 +0000 (22:36 -0600)
committerKarl Williamson <public@khwilliamson.com>
Tue, 24 Sep 2013 17:36:19 +0000 (11:36 -0600)
commitcfafade59059f2ad7828285e85e1a3d6629b60b0
treec856759dba335e53b3f5f568acc3f562ba70c40b
parentcdd87c1d4df41f9a54cccff996fa64d291adcee8
regcomp.c: Tighten optimizer for /li matches

The synthetic start class (ssc) generated by the regex optimizer
frequently has case-sensitive matching enabled, even if nowhere in the
pattern is there a /i.  This commit causes any pattern that doesn't have
/i to not have its ssc contain a /i.
regcomp.c