• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
18Error -28 from pcre32_fullinfo(0)
19Running in 32-bit mode but pattern was compiled in 16-bit mode
20
21<!testsaved16BE-2
22Compiled pattern loaded from testsaved16BE-2
23Study data loaded from testsaved16BE-2
24Error -28 from pcre32_fullinfo(0)
25Running in 32-bit mode but pattern was compiled in 16-bit mode
26
27<!testsaved32LE-2
28Compiled pattern loaded from testsaved32LE-2
29Study data loaded from testsaved32LE-2
30------------------------------------------------------------------
31  0  70 Bra
32  2  33 CBra 1
33  5     [Za\x{400}-\x{10ffff}]{4,}
34 23     [\x{f123}\x{10039}\x{20000}-\x{21234}]?
35 35  19 Alt
36 37     [A-Cx-z\x{100000}-\x{1000a7}\x{101234}]
37 54  52 Ket
38 56  12 CBra 2
39 59     [\x00-`b-y{-\xff] (neg)
40 68  12 Ket
41 70  70 Ket
42 72     End
43------------------------------------------------------------------
44Capturing subpattern count = 2
45Named capturing subpatterns:
46  cb2     2
47  cbra1   1
48Options: extended utf
49No first char
50No need char
51Subject length lower bound = 2
52No starting char list
53
54<!testsaved32BE-2
55Compiled pattern loaded from testsaved32BE-2
56Study data loaded from testsaved32BE-2
57------------------------------------------------------------------
58  0  70 Bra
59  2  33 CBra 1
60  5     [Za\x{400}-\x{10ffff}]{4,}
61 23     [\x{f123}\x{10039}\x{20000}-\x{21234}]?
62 35  19 Alt
63 37     [A-Cx-z\x{100000}-\x{1000a7}\x{101234}]
64 54  52 Ket
65 56  12 CBra 2
66 59     [\x00-`b-y{-\xff] (neg)
67 68  12 Ket
68 70  70 Ket
69 72     End
70------------------------------------------------------------------
71Capturing subpattern count = 2
72Named capturing subpatterns:
73  cb2     2
74  cbra1   1
75Options: extended utf
76No first char
77No need char
78Subject length lower bound = 2
79No starting char list
80
81/-- End of testinput22 --/
82