diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-12-07 22:51:34 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2010-12-11 15:58:18 -0700 |
commit | 2786be71c69a3e244009b94145ca66f2326aadb9 (patch) | |
tree | 37df79d93e6ea56e936b1b1a70c37f69c07a8220 /patchlevel.h | |
parent | 3a15e693385b1ab6186ad77f2fc208db1d0e05ea (diff) | |
download | perl-2786be71c69a3e244009b94145ca66f2326aadb9.tar.gz |
regcomp.c: Clean up optimization for 1-char []
A single character character class can be optimized into an EXACT node.
The changes elsewhere allow this to no longer be constrained to
ASCII-only when the pattern isn't UTF-8. Also, the optimization
shouldn't have happened for FOLDED characters, as explained in the
comments, when they participate in multi-char folds; so that is removed.
Also, a locale node with folded characters can be optimized.
Diffstat (limited to 'patchlevel.h')
0 files changed, 0 insertions, 0 deletions