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