xref: /aosp_15_r20/external/pcre/testdata/testinput19 (revision 22dc650d8ae982c6770746019a6f94af92b0f024)
1# This set of tests is run only with the 8-bit library. It tests the POSIX
2# interface with UTF/UCP support, which is supported only with the 8-bit
3# library. This test should not be run with JIT (which is not available for the
4# POSIX interface).
5
6#pattern posix
7
8/a\x{1234}b/utf
9    a\x{1234}b
10
11/\w/
12\= Expect no match
13    +++\x{c2}
14
15/\w/ucp
16    +++\x{c2}
17
18/"^AB" 00 "\x{1234}$"/hex,utf
19    AB\x{00}\x{1234}\=posix_startend=0:6
20
21/\w/utf
22\= Expect UTF error
23    A\xabB
24
25# End of testdata/testinput19
26