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 pcre16_fullinfo(0)
|
9 |
Running in 16-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 |
------------------------------------------------------------------
|
26 |
0 134 Bra
|
27 |
2 ^
|
28 |
3 [La]
|
29 |
20 43 CBra 1
|
30 |
23 20 Bra
|
31 |
25 [ALal]+
|
32 |
43 20 Ket
|
33 |
45 [\x00-,.-WY-wy-\xff] (neg)*?
|
34 |
63 43 Ket
|
35 |
65 12 CBraPos 2
|
36 |
68 [\x{150}-\x{250}\x{300}]
|
37 |
77 27 Alt
|
38 |
79 [^AS-Uas-u\x{800}\x{d800}-\x{dfff}]
|
39 |
104 39 KetRpos
|
40 |
106 [^\x08#\x{500}\x{1000}]{3,5}
|
41 |
133 $
|
42 |
134 134 Ket
|
43 |
136 End
|
44 |
------------------------------------------------------------------
|
45 |
Capturing subpattern count = 2
|
46 |
Named capturing subpatterns:
|
47 |
name 1
|
48 |
other 2
|
49 |
Options: anchored extended
|
50 |
No first char
|
51 |
No need char
|
52 |
Subject length lower bound = 6
|
53 |
No starting char list
|
54 |
|
55 |
<!testsaved16BE-1
|
56 |
Compiled pattern loaded from testsaved16BE-1
|
57 |
Study data loaded from testsaved16BE-1
|
58 |
------------------------------------------------------------------
|
59 |
0 134 Bra
|
60 |
2 ^
|
61 |
3 [La]
|
62 |
20 43 CBra 1
|
63 |
23 20 Bra
|
64 |
25 [ALal]+
|
65 |
43 20 Ket
|
66 |
45 [\x00-,.-WY-wy-\xff] (neg)*?
|
67 |
63 43 Ket
|
68 |
65 12 CBraPos 2
|
69 |
68 [\x{150}-\x{250}\x{300}]
|
70 |
77 27 Alt
|
71 |
79 [^AS-Uas-u\x{800}\x{d800}-\x{dfff}]
|
72 |
104 39 KetRpos
|
73 |
106 [^\x08#\x{500}\x{1000}]{3,5}
|
74 |
133 $
|
75 |
134 134 Ket
|
76 |
136 End
|
77 |
------------------------------------------------------------------
|
78 |
Capturing subpattern count = 2
|
79 |
Named capturing subpatterns:
|
80 |
name 1
|
81 |
other 2
|
82 |
Options: anchored extended
|
83 |
No first char
|
84 |
No need char
|
85 |
Subject length lower bound = 6
|
86 |
No starting char list
|
87 |
|
88 |
<!testsaved32LE-1
|
89 |
Compiled pattern loaded from testsaved32LE-1
|
90 |
Study data loaded from testsaved32LE-1
|
91 |
Error -28 from pcre16_fullinfo(0)
|
92 |
Running in 16-bit mode but pattern was compiled in 32-bit mode
|
93 |
|
94 |
<!testsaved32BE-1
|
95 |
Compiled pattern loaded from testsaved32BE-1
|
96 |
Study data loaded from testsaved32BE-1
|
97 |
Error -28 from pcre16_fullinfo(0)
|
98 |
Running in 16-bit mode but pattern was compiled in 32-bit mode
|
99 |
|
100 |
/-- End of testinput21 --/
|