blob: 49902937be7b9027f2370f11114983a7cad8f3c4 [file] [log] [blame]
Elliott Hughes9bc971b2018-07-27 13:23:14 -07001# This file tests the auxiliary pattern conversion features of the PCRE2
2# library, in UTF mode.
3
4#newline_default lf any anycrlf
5
6# -------- Tests of glob conversion --------
7
8# Set the glob separator explicitly so that different OS defaults are not a
9# problem. Then test various errors.
10
11#pattern convert=glob,convert_glob_escape=\,convert_glob_separator=/
12
13# The fact that this one works in 13 bytes in the 8-bit library shows that the
14# output is in UTF-8, though pcre2test shows the character as an escape.
15
16/'>' c4 a3 '<'/hex,utf,convert_length=13
17(?s)\A>\x{123}<\z
18
19# End of testinput25