Fatalized non-unicode warnings skip regex optimization
authorKarl Williamson <public@khwilliamson.com>
Thu, 19 Dec 2013 05:41:35 +0000 (22:41 -0700)
committerKarl Williamson <public@khwilliamson.com>
Tue, 31 Dec 2013 15:27:22 +0000 (08:27 -0700)
commitf2c2a6ab6210456432884985634012f6a0b6b00f
tree1aea9e958463f0cfbd77d41c07644371795727d4
parent731cb813cb160baa0c7969c70e0864d4da074738
Fatalized non-unicode warnings skip regex optimization

This makes sure that fatalized non-unicode warnings actually get output.
For example \p{Line_Break=CR} would normally get optimized into an EXACT
node.  But if the user has made non-unicode warnings fatal indicating
they want to be sure not to try to even match such code points, the
optimization is skipped so that the checks are made.

Documentation for this change will be in a future commit.
regcomp.c
t/lib/warnings/utf8