diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-08-18 10:34:05 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-08-18 10:34:05 +0000 |
commit | e4b2532cb5204ede16f39aca7c63a97ff380094b (patch) | |
tree | 3215cf19e650395e5c828932d38dacc1fc076a05 /testdata/testoutput14-32 | |
parent | 060fab17340fc4b8615bc4ee486f269ed8b799c8 (diff) | |
download | pcre2-e4b2532cb5204ede16f39aca7c63a97ff380094b.tar.gz |
Runtime UTF checks now take not of the starting offset.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@348 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testoutput14-32')
-rw-r--r-- | testdata/testoutput14-32 | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/testdata/testoutput14-32 b/testdata/testoutput14-32 new file mode 100644 index 0000000..30d7fa6 --- /dev/null +++ b/testdata/testoutput14-32 @@ -0,0 +1,61 @@ +# These test special (mostly error) UTF features of DFA matching. They are a +# selection of the more comprehensive tests that are run for non-DFA matching. +# The output is different for the different widths. + +#subject dfa + +/X/utf + XX\x{d800} +Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 + XX\x{d800}\=offset=3 +No match + XX\x{d800}\=no_utf_check + 0: X + XX\x{da00} +Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 + XX\x{da00}\=no_utf_check + 0: X + XX\x{dc00} +Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 + XX\x{dc00}\=no_utf_check + 0: X + XX\x{de00} +Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 + XX\x{de00}\=no_utf_check + 0: X + XX\x{dfff} +Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 + XX\x{dfff}\=no_utf_check + 0: X + XX\x{110000} +Failed: error -28: UTF-32 error: code points greater than 0x10ffff are not defined at offset 2 + XX\x{d800}\x{1234} +Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 + +/badutf/utf + X\xdf +No match + XX\xef +No match + XXX\xef\x80 +No match + X\xf7 +No match + XX\xf7\x80 +No match + XXX\xf7\x80\x80 +No match + +/shortutf/utf + XX\xdf\=ph +No match + XX\xef\=ph +No match + XX\xef\x80\=ph +No match + \xf7\=ph +No match + \xf7\x80\=ph +No match + +# End of testinput14 |