xref: /aosp_15_r20/external/pcre/testdata/testinput25 (revision 22dc650d8ae982c6770746019a6f94af92b0f024)
1*22dc650dSSadaf Ebrahimi# This file tests the auxiliary pattern conversion features of the PCRE2
2*22dc650dSSadaf Ebrahimi# library, in UTF mode.
3*22dc650dSSadaf Ebrahimi
4*22dc650dSSadaf Ebrahimi#newline_default lf any anycrlf
5*22dc650dSSadaf Ebrahimi
6*22dc650dSSadaf Ebrahimi# -------- Tests of glob conversion --------
7*22dc650dSSadaf Ebrahimi
8*22dc650dSSadaf Ebrahimi# Set the glob separator explicitly so that different OS defaults are not a
9*22dc650dSSadaf Ebrahimi# problem. Then test various errors.
10*22dc650dSSadaf Ebrahimi
11*22dc650dSSadaf Ebrahimi#pattern convert=glob,convert_glob_escape=\,convert_glob_separator=/
12*22dc650dSSadaf Ebrahimi
13*22dc650dSSadaf Ebrahimi# The fact that this one works in 13 bytes in the 8-bit library shows that the
14*22dc650dSSadaf Ebrahimi# output is in UTF-8, though pcre2test shows the character as an escape.
15*22dc650dSSadaf Ebrahimi
16*22dc650dSSadaf Ebrahimi/'>' c4 a3 '<'/hex,utf,convert_length=13
17*22dc650dSSadaf Ebrahimi
18*22dc650dSSadaf Ebrahimi# This expansion creates a string that is too long for the input buffer.
19*22dc650dSSadaf Ebrahimi
20*22dc650dSSadaf Ebrahimi/\[()]{65535}()/expand
21*22dc650dSSadaf Ebrahimi
22*22dc650dSSadaf Ebrahimi# End of testinput25
23