summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-08-17 14:45:35 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-08-17 14:45:35 +0000
commit6f2408cec76565406fb17f2cd51e88f92d8dc0b3 (patch)
treed97c0a4b2766528ddaaeb68c156bb33dade4daf5 /testdata
parent5fd37cd33ee12bb9d451ea0e628c6b19d3ba3072 (diff)
downloadpcre2-6f2408cec76565406fb17f2cd51e88f92d8dc0b3.tar.gz
Fix bad auto-possessification of certain types of class.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@986 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata')
-rw-r--r--testdata/testinput49
-rw-r--r--testdata/testoutput412
2 files changed, 21 insertions, 0 deletions
diff --git a/testdata/testinput4 b/testdata/testinput4
index 3efb1ff..a27b6af 100644
--- a/testdata/testinput4
+++ b/testdata/testinput4
@@ -2309,4 +2309,13 @@
# -------
+/[^\x{100}-\x{ffff}]*[\x80-\xff]/utf
+ \x{99}\x{99}\x{99}
+
+/[^\x{100}-\x{ffff}ABC]*[\x80-\xff]/utf
+ \x{99}\x{99}\x{99}
+
+/[^\x{100}-\x{ffff}]*[\x80-\xff]/i,utf
+ \x{99}\x{99}\x{99}
+
# End of testinput4
diff --git a/testdata/testoutput4 b/testdata/testoutput4
index db474ef..ba3df37 100644
--- a/testdata/testoutput4
+++ b/testdata/testoutput4
@@ -3730,4 +3730,16 @@ No match
# -------
+/[^\x{100}-\x{ffff}]*[\x80-\xff]/utf
+ \x{99}\x{99}\x{99}
+ 0: \x{99}\x{99}\x{99}
+
+/[^\x{100}-\x{ffff}ABC]*[\x80-\xff]/utf
+ \x{99}\x{99}\x{99}
+ 0: \x{99}\x{99}\x{99}
+
+/[^\x{100}-\x{ffff}]*[\x80-\xff]/i,utf
+ \x{99}\x{99}\x{99}
+ 0: \x{99}\x{99}\x{99}
+
# End of testinput4