github的一些开源项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
501 B

  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. #pattern posix
  6. /a\x{1234}b/utf
  7. a\x{1234}b
  8. /\w/
  9. \= Expect no match
  10. +++\x{c2}
  11. /\w/ucp
  12. +++\x{c2}
  13. /"^AB" 00 "\x{1234}$"/hex,utf
  14. AB\x{00}\x{1234}\=posix_startend=0:6
  15. /\w/utf
  16. \= Expect UTF error
  17. A\xabB
  18. # End of testdata/testinput19