1 # These test special (mostly error) UTF features of DFA matching. They are a
2 # selection of the more comprehensive tests that are run for non-DFA matching.
3 # The output is different for the different widths.
9 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
11 Error -36 (bad UTF-8 offset)
12 XX\x{d800}\=no_utf_check
15 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
16 XX\x{da00}\=no_utf_check
19 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
20 XX\x{dc00}\=no_utf_check
23 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
24 XX\x{de00}\=no_utf_check
27 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
28 XX\x{dfff}\=no_utf_check
31 Failed: error -15: UTF-8 error: code points greater than 0x10ffff are not defined at offset 2
33 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 2
37 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 1
39 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 2
41 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 3
43 Failed: error -5: UTF-8 error: 3 bytes missing at end at offset 1
45 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 2
47 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 3
51 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 2
53 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 2
55 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 2
57 Failed: error -5: UTF-8 error: 3 bytes missing at end at offset 0
59 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 0