diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-02-22 14:24:56 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-02-22 14:24:56 +0000 |
commit | a4ebdbff62929ee62185d2f17e93b9d838645604 (patch) | |
tree | aca91e9db6688a8cf89f42dc677004d9181305d4 /testdata | |
parent | 5f83aeee3273dc59fa8878eb3e830e64213fcbd2 (diff) | |
download | pcre-a4ebdbff62929ee62185d2f17e93b9d838645604.tar.gz |
Upgrade DFA support to handle OP_NOTI with multibyte characters (other related
opcodes were OK).
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@925 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput10 | 8 | ||||
-rw-r--r-- | testdata/testinput9 | 6 | ||||
-rw-r--r-- | testdata/testoutput10 | 11 | ||||
-rw-r--r-- | testdata/testoutput9 | 9 |
4 files changed, 34 insertions, 0 deletions
diff --git a/testdata/testinput10 b/testdata/testinput10 index 7b85f4d..6cdcc41 100644 --- a/testdata/testinput10 +++ b/testdata/testinput10 @@ -985,5 +985,13 @@ abc_ !\x{c0}++\x{c1}\x{c2} !\x{c0}+++++ + +/-- Caseless single negated characters > 127 need UCP support --/ + +/[^\x{100}]/8i + \x{100}\x{101}X + +/[^\x{100}]+/8i + \x{100}\x{101}XX /-- End of testinput10 --/ diff --git a/testdata/testinput9 b/testdata/testinput9 index 86fcbda..d9a1d9d 100644 --- a/testdata/testinput9 +++ b/testdata/testinput9 @@ -740,4 +740,10 @@ \r\r\r\P \r\r\r\P\P +/[^\x{100}]/8 + \x{100}\x{101}X + +/[^\x{100}]+/8 + \x{100}\x{101}X + /-- End of testinput9 --/ diff --git a/testdata/testoutput10 b/testdata/testoutput10 index ca181db..cc94a34 100644 --- a/testdata/testoutput10 +++ b/testdata/testoutput10 @@ -2033,5 +2033,16 @@ No match 0: ++\xc1 !\x{c0}+++++ 0: \xc0++ + +/-- Caseless single negated characters > 127 need UCP support --/ + +/[^\x{100}]/8i + \x{100}\x{101}X + 0: X + +/[^\x{100}]+/8i + \x{100}\x{101}XX + 0: XX + 1: X /-- End of testinput10 --/ diff --git a/testdata/testoutput9 b/testdata/testoutput9 index 26ca40f..548c341 100644 --- a/testdata/testoutput9 +++ b/testdata/testoutput9 @@ -1414,4 +1414,13 @@ Partial match: \x{0d}\x{0d} \r\r\r\P\P Partial match: \x{0d}\x{0d}\x{0d} +/[^\x{100}]/8 + \x{100}\x{101}X + 0: \x{101} + +/[^\x{100}]+/8 + \x{100}\x{101}X + 0: \x{101}X + 1: \x{101} + /-- End of testinput9 --/ |