1 |
/-- Tests for reloading pre-compiled patterns. The first one gives an error
|
2 |
right away, and can be any old pattern compiled in 8-bit mode ("abc" is
|
3 |
typical). The others require the link size to be 2. */x
|
4 |
|
5 |
<!testsaved8
|
6 |
Compiled pattern loaded from testsaved8
|
7 |
No study data
|
8 |
Error -28 from pcre32_fullinfo(0)
|
9 |
Running in 32-bit mode but pattern was compiled in 8-bit mode
|
10 |
|
11 |
%-- Generated from:
|
12 |
/^[aL](?P<name>(?:[AaLl]+)[^xX-]*?)(?P<other>[\x{150}-\x{250}\x{300}]|
|
13 |
[^\x{800}aAs-uS-U\x{d800}-\x{dfff}])++[^#\b\x{500}\x{1000}]{3,5}$
|
14 |
/x
|
15 |
|
16 |
In 16-bit mode with options: S>testdata/saved16LE-1
|
17 |
FS>testdata/saved16BE-1
|
18 |
In 32-bit mode with options: S>testdata/saved32LE-1
|
19 |
FS>testdata/saved32BE-1
|
20 |
--%x
|
21 |
|
22 |
<!testsaved16LE-1
|
23 |
Compiled pattern loaded from testsaved16LE-1
|
24 |
Study data loaded from testsaved16LE-1
|
25 |
Error -28 from pcre32_fullinfo(0)
|
26 |
Running in 32-bit mode but pattern was compiled in 16-bit mode
|
27 |
|
28 |
<!testsaved16BE-1
|
29 |
Compiled pattern loaded from testsaved16BE-1
|
30 |
Study data loaded from testsaved16BE-1
|
31 |
Error -28 from pcre32_fullinfo(0)
|
32 |
Running in 32-bit mode but pattern was compiled in 16-bit mode
|
33 |
|
34 |
<!testsaved32LE-1
|
35 |
Compiled pattern loaded from testsaved32LE-1
|
36 |
Study data loaded from testsaved32LE-1
|
37 |
------------------------------------------------------------------
|
38 |
0 94 Bra
|
39 |
2 ^
|
40 |
3 [La]
|
41 |
12 27 CBra 1
|
42 |
15 12 Bra
|
43 |
17 [ALal]+
|
44 |
27 12 Ket
|
45 |
29 [\x00-,.-WY-wy-\xff] (neg)*?
|
46 |
39 27 Ket
|
47 |
41 12 CBraPos 2
|
48 |
44 [\x{150}-\x{250}\x{300}]
|
49 |
53 19 Alt
|
50 |
55 [^AS-Uas-u\x{800}\x{d800}-\x{dfff}]
|
51 |
72 31 KetRpos
|
52 |
74 [^\x08#\x{500}\x{1000}]{3,5}
|
53 |
93 $
|
54 |
94 94 Ket
|
55 |
96 End
|
56 |
------------------------------------------------------------------
|
57 |
Capturing subpattern count = 2
|
58 |
Named capturing subpatterns:
|
59 |
name 1
|
60 |
other 2
|
61 |
Options: anchored extended
|
62 |
No first char
|
63 |
No need char
|
64 |
Subject length lower bound = 6
|
65 |
No starting char list
|
66 |
|
67 |
<!testsaved32BE-1
|
68 |
Compiled pattern loaded from testsaved32BE-1
|
69 |
Study data loaded from testsaved32BE-1
|
70 |
------------------------------------------------------------------
|
71 |
0 94 Bra
|
72 |
2 ^
|
73 |
3 [La]
|
74 |
12 27 CBra 1
|
75 |
15 12 Bra
|
76 |
17 [ALal]+
|
77 |
27 12 Ket
|
78 |
29 [\x00-,.-WY-wy-\xff] (neg)*?
|
79 |
39 27 Ket
|
80 |
41 12 CBraPos 2
|
81 |
44 [\x{150}-\x{250}\x{300}]
|
82 |
53 19 Alt
|
83 |
55 [^AS-Uas-u\x{800}\x{d800}-\x{dfff}]
|
84 |
72 31 KetRpos
|
85 |
74 [^\x08#\x{500}\x{1000}]{3,5}
|
86 |
93 $
|
87 |
94 94 Ket
|
88 |
96 End
|
89 |
------------------------------------------------------------------
|
90 |
Capturing subpattern count = 2
|
91 |
Named capturing subpatterns:
|
92 |
name 1
|
93 |
other 2
|
94 |
Options: anchored extended
|
95 |
No first char
|
96 |
No need char
|
97 |
Subject length lower bound = 6
|
98 |
No starting char list
|
99 |
|
100 |
/-- End of testinput21 --/
|