2017-05-06 18:19:39 +02:00
|
|
|
# This file tests the auxiliary pattern conversion features of the PCRE2
|
|
|
|
# library, in UTF mode.
|
|
|
|
|
|
|
|
#newline_default lf any anycrlf
|
|
|
|
|
|
|
|
# -------- Tests of glob conversion --------
|
|
|
|
|
|
|
|
# Set the glob separator explicitly so that different OS defaults are not a
|
|
|
|
# problem. Then test various errors.
|
|
|
|
|
2017-07-12 18:34:49 +02:00
|
|
|
#pattern convert=glob,convert_glob_escape=\,convert_glob_separator=/
|
2017-05-06 18:19:39 +02:00
|
|
|
|
2017-05-19 18:41:10 +02:00
|
|
|
# The fact that this one works in 13 bytes in the 8-bit library shows that the
|
2017-05-06 18:19:39 +02:00
|
|
|
# output is in UTF-8, though pcre2test shows the character as an escape.
|
|
|
|
|
2017-05-19 18:41:10 +02:00
|
|
|
/'>' c4 a3 '<'/hex,utf,convert_length=13
|
|
|
|
(?s)\A>\x{123}<\z
|
2017-05-06 18:19:39 +02:00
|
|
|
|
|
|
|
# End of testinput25
|