File: testinput19

package info (click to toggle)
pcre2 10.47-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 14,256 kB
  • sloc: ansic: 108,003; sh: 6,686; makefile: 826
file content (27 lines) | stat: -rw-r--r-- 516 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This set of tests is run only with the 8-bit library. It tests the POSIX
# interface with UTF/UCP support, which is supported only with the 8-bit
# library. This test should not be run with JIT (which is not available for the
# POSIX interface).

#pattern posix

/a\x{1234}b/utf
    a\x{1234}b

/\w/
\= Expect no match
    +++\x{c2}

/\w/ucp
    +++\x{c2}

/"^AB" 00 "\x{1234}$"/hex,utf
    AB\x{00}\x{1234}\=posix_startend=0:6

/\w/utf
\= Expect UTF error
    A\xabB

/ AB /hex,utf

# End of testdata/testinput19