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
257 KiB

  1. # This file tests the auxiliary pattern conversion features of the PCRE2
  2. # library, in UTF mode.
  3. #newline_default lf any anycrlf
  4. # -------- Tests of glob conversion --------
  5. # Set the glob separator explicitly so that different OS defaults are not a
  6. # problem. Then test various errors.
  7. #pattern convert=glob,convert_glob_escape=\,convert_glob_separator=/
  8. # The fact that this one works in 13 bytes in the 8-bit library shows that the
  9. # output is in UTF-8, though pcre2test shows the character as an escape.
  10. /'>' c4 a3 '<'/hex,utf,convert_length=13
  11. (?s)\A>\x{123}<\z
  12. # This expansion creates a string that is too long for the input buffer.
  13. /\[()]{65535}()/expand
  14. (?s)\A\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)\(\)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