1/-- Tests for reloading pre-compile patterns with UTF-16 or UTF-32 support. */
2
3%-- Generated from:
4    /(?P<cbra1>[aZ\x{400}-\x{10ffff}]{4,}
5      [\x{f123}\x{10039}\x{20000}-\x{21234}]?|
6      [A-Cx-z\x{100000}-\x{1000a7}\x{101234}])
7      (?<cb2>[^az])/x
8
9    In 16-bit mode with options:  S8>testdata/saved16LE-2
10                                 FS8>testdata/saved16BE-2
11    In 32-bit mode with options:  S8>testdata/saved32LE-2
12                                 FS8>testdata/saved32BE-2
13--%8x
14
15<!testsaved16LE-2
16Compiled pattern loaded from testsaved16LE-2
17Study data loaded from testsaved16LE-2
18------------------------------------------------------------------
19  0 101 Bra
20  2  45 CBra 1
21  5     [Za\x{400}-\x{10ffff}]{4,}
22 32     [\x{f123}\x{10039}\x{20000}-\x{21234}]?
23 47  30 Alt
24 49     [A-Cx-z\x{100000}-\x{1000a7}\x{101234}]
25 77  75 Ket
26 79  20 CBra 2
27 82     [\x00-`b-y{-\xff] (neg)
28 99  20 Ket
29101 101 Ket
30103     End
31------------------------------------------------------------------
32Capturing subpattern count = 2
33Named capturing subpatterns:
34  cb2     2
35  cbra1   1
36Options: extended utf
37No first char
38No need char
39Subject length lower bound = 2
40No starting char list
41
42<!testsaved16BE-2
43Compiled pattern loaded from testsaved16BE-2
44Study data loaded from testsaved16BE-2
45------------------------------------------------------------------
46  0 101 Bra
47  2  45 CBra 1
48  5     [Za\x{400}-\x{10ffff}]{4,}
49 32     [\x{f123}\x{10039}\x{20000}-\x{21234}]?
50 47  30 Alt
51 49     [A-Cx-z\x{100000}-\x{1000a7}\x{101234}]
52 77  75 Ket
53 79  20 CBra 2
54 82     [\x00-`b-y{-\xff] (neg)
55 99  20 Ket
56101 101 Ket
57103     End
58------------------------------------------------------------------
59Capturing subpattern count = 2
60Named capturing subpatterns:
61  cb2     2
62  cbra1   1
63Options: extended utf
64No first char
65No need char
66Subject length lower bound = 2
67No starting char list
68
69<!testsaved32LE-2
70Compiled pattern loaded from testsaved32LE-2
71Study data loaded from testsaved32LE-2
72Error -28 from pcre16_fullinfo(0)
73Running in 16-bit mode but pattern was compiled in 32-bit mode
74
75<!testsaved32BE-2
76Compiled pattern loaded from testsaved32BE-2
77Study data loaded from testsaved32BE-2
78Error -28 from pcre16_fullinfo(0)
79Running in 16-bit mode but pattern was compiled in 32-bit mode
80
81/-- End of testinput22 --/
82