xref: /aosp_15_r20/external/pcre/testdata/testoutput19 (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 0: a\x{1234}b
11
12/\w/
13\= Expect no match
14    +++\x{c2}
15No match: POSIX code 17: match failed
16
17/\w/ucp
18    +++\x{c2}
19 0: \xc2
20
21/"^AB" 00 "\x{1234}$"/hex,utf
22    AB\x{00}\x{1234}\=posix_startend=0:6
23 0: AB\x{00}\x{1234}
24
25/\w/utf
26\= Expect UTF error
27    A\xabB
28No match: POSIX code 16: bad argument
29
30# End of testdata/testinput19
31