2015-08-18 06:34:05 -04:00
|
|
|
# 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).
|
2015-01-23 11:51:47 -05:00
|
|
|
|
2015-08-18 06:34:05 -04:00
|
|
|
#pattern posix
|
2015-01-23 11:51:47 -05:00
|
|
|
|
2015-08-18 06:34:05 -04:00
|
|
|
/a\x{1234}b/utf
|
|
|
|
a\x{1234}b
|
|
|
|
0: a\x{1234}b
|
2015-01-23 11:51:47 -05:00
|
|
|
|
2015-08-18 06:34:05 -04:00
|
|
|
/\w/
|
2015-09-16 12:49:48 -04:00
|
|
|
\= Expect no match
|
2015-08-18 06:34:05 -04:00
|
|
|
+++\x{c2}
|
|
|
|
No match: POSIX code 17: match failed
|
2015-01-23 11:51:47 -05:00
|
|
|
|
2015-08-18 06:34:05 -04:00
|
|
|
/\w/ucp
|
|
|
|
+++\x{c2}
|
|
|
|
0: \xc2
|
|
|
|
|
2017-06-05 14:25:47 -04:00
|
|
|
/"^AB" 00 "\x{1234}$"/hex,utf
|
|
|
|
AB\x{00}\x{1234}\=posix_startend=0:6
|
|
|
|
0: AB\x{00}\x{1234}
|
|
|
|
|
2015-08-18 06:34:05 -04:00
|
|
|
# End of testdata/testinput19
|