1 |
PCRE version 3.4 22-Aug-2000
|
2 |
|
3 |
/\x{100}/8DM
|
4 |
Memory allocation (code space): 11
|
5 |
------------------------------------------------------------------
|
6 |
0 7 Bra 0
|
7 |
3 2 \xc0\x88
|
8 |
7 7 Ket
|
9 |
10 End
|
10 |
------------------------------------------------------------------
|
11 |
Capturing subpattern count = 0
|
12 |
Options: utf8
|
13 |
First char = 192
|
14 |
Need char = 136
|
15 |
|
16 |
/\x{1000}/8DM
|
17 |
Memory allocation (code space): 12
|
18 |
------------------------------------------------------------------
|
19 |
0 8 Bra 0
|
20 |
3 3 \xe0\x80\x84
|
21 |
8 8 Ket
|
22 |
11 End
|
23 |
------------------------------------------------------------------
|
24 |
Capturing subpattern count = 0
|
25 |
Options: utf8
|
26 |
First char = 224
|
27 |
Need char = 132
|
28 |
|
29 |
/\x{10000}/8DM
|
30 |
Memory allocation (code space): 13
|
31 |
------------------------------------------------------------------
|
32 |
0 9 Bra 0
|
33 |
3 4 \xf0\x80\x80\x82
|
34 |
9 9 Ket
|
35 |
12 End
|
36 |
------------------------------------------------------------------
|
37 |
Capturing subpattern count = 0
|
38 |
Options: utf8
|
39 |
First char = 240
|
40 |
Need char = 130
|
41 |
|
42 |
/\x{100000}/8DM
|
43 |
Memory allocation (code space): 13
|
44 |
------------------------------------------------------------------
|
45 |
0 9 Bra 0
|
46 |
3 4 \xf0\x80\x80\xa0
|
47 |
9 9 Ket
|
48 |
12 End
|
49 |
------------------------------------------------------------------
|
50 |
Capturing subpattern count = 0
|
51 |
Options: utf8
|
52 |
First char = 240
|
53 |
Need char = 160
|
54 |
|
55 |
/\x{1000000}/8DM
|
56 |
Memory allocation (code space): 14
|
57 |
------------------------------------------------------------------
|
58 |
0 10 Bra 0
|
59 |
3 5 \xf8\x80\x80\x80\x90
|
60 |
10 10 Ket
|
61 |
13 End
|
62 |
------------------------------------------------------------------
|
63 |
Capturing subpattern count = 0
|
64 |
Options: utf8
|
65 |
First char = 248
|
66 |
Need char = 144
|
67 |
|
68 |
/\x{4000000}/8DM
|
69 |
Memory allocation (code space): 15
|
70 |
------------------------------------------------------------------
|
71 |
0 11 Bra 0
|
72 |
3 6 \xfc\x80\x80\x80\x80\x82
|
73 |
11 11 Ket
|
74 |
14 End
|
75 |
------------------------------------------------------------------
|
76 |
Capturing subpattern count = 0
|
77 |
Options: utf8
|
78 |
First char = 252
|
79 |
Need char = 130
|
80 |
|
81 |
/\x{7fffFFFF}/8DM
|
82 |
Memory allocation (code space): 15
|
83 |
------------------------------------------------------------------
|
84 |
0 11 Bra 0
|
85 |
3 6 \xfd\xbf\xbf\xbf\xbf\xbf
|
86 |
11 11 Ket
|
87 |
14 End
|
88 |
------------------------------------------------------------------
|
89 |
Capturing subpattern count = 0
|
90 |
Options: utf8
|
91 |
First char = 253
|
92 |
Need char = 191
|
93 |
|
94 |
/[\x{ff}]/8DM
|
95 |
Memory allocation (code space): 40
|
96 |
------------------------------------------------------------------
|
97 |
0 6 Bra 0
|
98 |
3 1 \xff
|
99 |
6 6 Ket
|
100 |
9 End
|
101 |
------------------------------------------------------------------
|
102 |
Capturing subpattern count = 0
|
103 |
Options: utf8
|
104 |
First char = 255
|
105 |
No need char
|
106 |
|
107 |
/[\x{100}]/8DM
|
108 |
Memory allocation (code space): 40
|
109 |
Failed: characters with values > 255 are not yet supported in classes at offset 7
|
110 |
|
111 |
/\x{ffffffff}/8
|
112 |
Failed: character value in \x{...} sequence is too large at offset 11
|
113 |
|
114 |
/\x{100000000}/8
|
115 |
Failed: character value in \x{...} sequence is too large at offset 12
|
116 |
|
117 |
/^\x{100}a\x{1234}/8
|
118 |
\x{100}a\x{1234}bcd
|
119 |
0: \x{100}a\x{1234}
|
120 |
|
121 |
/\x80/8D
|
122 |
------------------------------------------------------------------
|
123 |
0 7 Bra 0
|
124 |
3 2 \xc0\x84
|
125 |
7 7 Ket
|
126 |
10 End
|
127 |
------------------------------------------------------------------
|
128 |
Capturing subpattern count = 0
|
129 |
Options: utf8
|
130 |
First char = 192
|
131 |
Need char = 132
|
132 |
|
133 |
/\xff/8D
|
134 |
------------------------------------------------------------------
|
135 |
0 7 Bra 0
|
136 |
3 2 \xdf\x87
|
137 |
7 7 Ket
|
138 |
10 End
|
139 |
------------------------------------------------------------------
|
140 |
Capturing subpattern count = 0
|
141 |
Options: utf8
|
142 |
First char = 223
|
143 |
Need char = 135
|
144 |
|
145 |
/-- These tests are here rather than in testinput5 because Perl 5.6 has --/
|
146 |
/-- some problems with UTF-8 support, in the area of \x{..} where the --/
|
147 |
No match
|
148 |
/-- value is < 255. It grumbles about invalid UTF-8 strings. --/
|
149 |
No match
|
150 |
|
151 |
/^[a\x{c0}]b/8
|
152 |
\x{c0}b
|
153 |
0: \x{c0}b
|
154 |
|
155 |
/^([a\x{c0}]*?)aa/8
|
156 |
a\x{c0}aaaa/
|
157 |
0: a\x{c0}aa
|
158 |
1: a\x{c0}
|
159 |
|
160 |
/^([a\x{c0}]*?)aa/8
|
161 |
a\x{c0}aaaa/
|
162 |
0: a\x{c0}aa
|
163 |
1: a\x{c0}
|
164 |
a\x{c0}a\x{c0}aaa/
|
165 |
0: a\x{c0}a\x{c0}aa
|
166 |
1: a\x{c0}a\x{c0}
|
167 |
|
168 |
/^([a\x{c0}]*)aa/8
|
169 |
a\x{c0}aaaa/
|
170 |
0: a\x{c0}aaaa
|
171 |
1: a\x{c0}aa
|
172 |
a\x{c0}a\x{c0}aaa/
|
173 |
0: a\x{c0}a\x{c0}aaa
|
174 |
1: a\x{c0}a\x{c0}a
|
175 |
|
176 |
/^([a\x{c0}]*)a\x{c0}/8
|
177 |
a\x{c0}aaaa/
|
178 |
0: a\x{c0}
|
179 |
1:
|
180 |
a\x{c0}a\x{c0}aaa/
|
181 |
0: a\x{c0}a\x{c0}
|
182 |
1: a\x{c0}
|
183 |
|
184 |
/ End of testinput6 /
|
185 |
|