diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2016-08-03 17:22:59 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2016-08-03 17:22:59 +0000 |
commit | 143f7f5c4dabd978117d415d2016c7595a7b9867 (patch) | |
tree | 2dbe52ad16df0b02269f69b439689c134821163a /testdata/testoutput5 | |
parent | 88bcaf167c392f97d50caafc1cbf1a226e8a7d85 (diff) | |
download | pcre2-143f7f5c4dabd978117d415d2016c7595a7b9867.tar.gz |
Fix bug that caused chars > 255 not to be matched by classes like [\W\pL] when
PCRE2_UCP was not set.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@554 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testoutput5')
-rw-r--r-- | testdata/testoutput5 | 49 |
1 files changed, 24 insertions, 25 deletions
diff --git a/testdata/testoutput5 b/testdata/testoutput5 index f19ad8c..b670677 100644 --- a/testdata/testoutput5 +++ b/testdata/testoutput5 @@ -4020,31 +4020,6 @@ MK: a\x{12345}b\x{09}(d)c ab12cde 7: <not digit; letter><not digit; letter><digit; not a letter><digit; not a letter><not digit; letter><not digit; letter><not digit; letter> -/[\W\p{Any}]/B ------------------------------------------------------------------- - Bra - [\x00-/:-@[-^`{-\xff\p{Any}] - Ket - End ------------------------------------------------------------------- - abc - 0: a - 123 - 0: 1 - -/[\W\pL]/B ------------------------------------------------------------------- - Bra - [\x00-/:-@[-^`{-\xff\p{L}] - Ket - End ------------------------------------------------------------------- - abc - 0: a -\= Expect no match - 123 -No match - /(*UCP)(*UTF)[[:>:]]X/B ------------------------------------------------------------------ Bra @@ -4161,4 +4136,28 @@ No match /(*UTF)C\x09((?<!'(?x)!*H? #\xcc\x9a[^$]/ Failed: error 114 at offset 39: missing closing parenthesis +/[\D]/utf + \x{1d7cf} + 0: \x{1d7cf} + +/[\D\P{Nd}]/utf + \x{1d7cf} + 0: \x{1d7cf} + +/[^\D]/utf + a9b + 0: 9 +\= Expect no match + \x{1d7cf} +No match + +/[^\D\P{Nd}]/utf + a9b + 0: 9 + \x{1d7cf} + 0: \x{1d7cf} +\= Expect no match + \x{10000} +No match + # End of testinput5 |