diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-04 17:08:58 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-09 10:13:58 -0700 |
commit | ea317ccb31f6a2617f030e911668f46874f7dacb (patch) | |
tree | e784ad37b744e7aae3ab763e31ae6fd8e34838e3 /t | |
parent | 3f427fd9b3d9172856d6247beacfaedb3a38b17d (diff) | |
download | perl-ea317ccb31f6a2617f030e911668f46874f7dacb.tar.gz |
regcomp.c: Use compiled-in inversion lists
This uses the compiled inversion lists to generate Posix character
classes and things like \v, \s inside bracketed character classes.
This paves the way for future optimizations, and fixes the bug which has
no formal bug number that /[[:ascii:]]/i matched non-Ascii characters,
such as the Kelvin sign, unlike /\p{ascii}/i.
Diffstat (limited to 't')
-rw-r--r-- | t/re/re_tests | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/re/re_tests b/t/re/re_tests index e37cfb1cc5..2bdb24cdb8 100644 --- a/t/re/re_tests +++ b/t/re/re_tests @@ -1565,5 +1565,6 @@ abc\N{def - c - \\N{NAME} must be resolved by the lexer /sst/ui s\N{LATIN SMALL LIGATURE LONG S T} y $& s\N{LATIN SMALL LIGATURE LONG S T} # /i properties shouldn't match more than the property itself -/[[:ascii:]]/i \N{KELVIN SIGN} Tn - - +/[[:ascii:]]/i \N{KELVIN SIGN} n - - + # vim: softtabstop=0 noexpandtab |