1PCRE version 3.9 02-Jan-2002
2
3/\x{100}/8DM
4Memory allocation (code space): 11
5------------------------------------------------------------------
6  0   7 Bra 0
7  3   2 \xc4\x80
8  7   7 Ket
9 10     End
10------------------------------------------------------------------
11Capturing subpattern count = 0
12Options: utf8
13First char = 196
14Need char = 128
15
16/\x{1000}/8DM
17Memory allocation (code space): 12
18------------------------------------------------------------------
19  0   8 Bra 0
20  3   3 \xe1\x80\x80
21  8   8 Ket
22 11     End
23------------------------------------------------------------------
24Capturing subpattern count = 0
25Options: utf8
26First char = 225
27Need char = 128
28
29/\x{10000}/8DM
30Memory allocation (code space): 13
31------------------------------------------------------------------
32  0   9 Bra 0
33  3   4 \xf0\x90\x80\x80
34  9   9 Ket
35 12     End
36------------------------------------------------------------------
37Capturing subpattern count = 0
38Options: utf8
39First char = 240
40Need char = 128
41
42/\x{100000}/8DM
43Memory allocation (code space): 13
44------------------------------------------------------------------
45  0   9 Bra 0
46  3   4 \xf4\x80\x80\x80
47  9   9 Ket
48 12     End
49------------------------------------------------------------------
50Capturing subpattern count = 0
51Options: utf8
52First char = 244
53Need char = 128
54
55/\x{1000000}/8DM
56Memory allocation (code space): 14
57------------------------------------------------------------------
58  0  10 Bra 0
59  3   5 \xf9\x80\x80\x80\x80
60 10  10 Ket
61 13     End
62------------------------------------------------------------------
63Capturing subpattern count = 0
64Options: utf8
65First char = 249
66Need char = 128
67
68/\x{4000000}/8DM
69Memory allocation (code space): 15
70------------------------------------------------------------------
71  0  11 Bra 0
72  3   6 \xfc\x84\x80\x80\x80\x80
73 11  11 Ket
74 14     End
75------------------------------------------------------------------
76Capturing subpattern count = 0
77Options: utf8
78First char = 252
79Need char = 128
80
81/\x{7fffFFFF}/8DM
82Memory 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------------------------------------------------------------------
89Capturing subpattern count = 0
90Options: utf8
91First char = 253
92Need char = 191
93
94/[\x{ff}]/8DM
95Memory allocation (code space): 40
96------------------------------------------------------------------
97  0   6 Bra 0
98  3   1 \xff
99  6   6 Ket
100  9     End
101------------------------------------------------------------------
102Capturing subpattern count = 0
103Options: utf8
104First char = 255
105No need char
106
107/[\x{100}]/8DM
108Memory allocation (code space): 40
109Failed: characters with values > 255 are not yet supported in classes at offset 7
110
111/\x{ffffffff}/8
112Failed: character value in \x{...} sequence is too large at offset 11
113
114/\x{100000000}/8
115Failed: 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 \xc2\x80
125  7   7 Ket
126 10     End
127------------------------------------------------------------------
128Capturing subpattern count = 0
129Options: utf8
130First char = 194
131Need char = 128
132
133/\xff/8D
134------------------------------------------------------------------
135  0   7 Bra 0
136  3   2 \xc3\xbf
137  7   7 Ket
138 10     End
139------------------------------------------------------------------
140Capturing subpattern count = 0
141Options: utf8
142First char = 195
143Need char = 191
144
145/\x{0041}\x{2262}\x{0391}\x{002e}/D8
146------------------------------------------------------------------
147  0  12 Bra 0
148  3   7 A\xe2\x89\xa2\xce\x91.
149 12  12 Ket
150 15     End
151------------------------------------------------------------------
152Capturing subpattern count = 0
153Options: utf8
154First char = 'A'
155Need char = '.'
156    \x{0041}\x{2262}\x{0391}\x{002e}
157 0: A\x{2262}\x{391}.
158
159/\x{D55c}\x{ad6d}\x{C5B4}/D8
160------------------------------------------------------------------
161  0  14 Bra 0
162  3   9 \xed\x95\x9c\xea\xb5\xad\xec\x96\xb4
163 14  14 Ket
164 17     End
165------------------------------------------------------------------
166Capturing subpattern count = 0
167Options: utf8
168First char = 237
169Need char = 180
170    \x{D55c}\x{ad6d}\x{C5B4}
171 0: \x{d55c}\x{ad6d}\x{c5b4}
172
173/\x{65e5}\x{672c}\x{8a9e}/D8
174------------------------------------------------------------------
175  0  14 Bra 0
176  3   9 \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e
177 14  14 Ket
178 17     End
179------------------------------------------------------------------
180Capturing subpattern count = 0
181Options: utf8
182First char = 230
183Need char = 158
184    \x{65e5}\x{672c}\x{8a9e}
185 0: \x{65e5}\x{672c}\x{8a9e}
186
187/\x{80}/D8
188------------------------------------------------------------------
189  0   7 Bra 0
190  3   2 \xc2\x80
191  7   7 Ket
192 10     End
193------------------------------------------------------------------
194Capturing subpattern count = 0
195Options: utf8
196First char = 194
197Need char = 128
198
199/\x{084}/D8
200------------------------------------------------------------------
201  0   7 Bra 0
202  3   2 \xc2\x84
203  7   7 Ket
204 10     End
205------------------------------------------------------------------
206Capturing subpattern count = 0
207Options: utf8
208First char = 194
209Need char = 132
210
211/\x{104}/D8
212------------------------------------------------------------------
213  0   7 Bra 0
214  3   2 \xc4\x84
215  7   7 Ket
216 10     End
217------------------------------------------------------------------
218Capturing subpattern count = 0
219Options: utf8
220First char = 196
221Need char = 132
222
223/\x{861}/D8
224------------------------------------------------------------------
225  0   8 Bra 0
226  3   3 \xe0\xa1\xa1
227  8   8 Ket
228 11     End
229------------------------------------------------------------------
230Capturing subpattern count = 0
231Options: utf8
232First char = 224
233Need char = 161
234
235/\x{212ab}/D8
236------------------------------------------------------------------
237  0   9 Bra 0
238  3   4 \xf0\xa1\x8a\xab
239  9   9 Ket
240 12     End
241------------------------------------------------------------------
242Capturing subpattern count = 0
243Options: utf8
244First char = 240
245Need char = 171
246
247/.{3,5}X/D8
248------------------------------------------------------------------
249  0  14 Bra 0
250  3     Any{3}
251  7     Any{0,2}
252 11   1 X
253 14  14 Ket
254 17     End
255------------------------------------------------------------------
256Capturing subpattern count = 0
257Options: utf8
258No first char
259Need char = 'X'
260    \x{212ab}\x{212ab}\x{212ab}\x{861}X
261 0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
262
263
264/.{3,5}?/D8
265------------------------------------------------------------------
266  0  11 Bra 0
267  3     Any{3}
268  7     Any{0,2}?
269 11  11 Ket
270 14     End
271------------------------------------------------------------------
272Capturing subpattern count = 0
273Options: utf8
274No first char
275No need char
276    \x{212ab}\x{212ab}\x{212ab}\x{861}
277 0: \x{212ab}\x{212ab}\x{212ab}
278
279/-- These tests are here rather than in testinput5 because Perl 5.6 has --/
280/-- some problems with UTF-8 support, in the area of \x{..} where the   --/
281No match
282/-- value is < 255. It grumbles about invalid UTF-8 strings.            --/
283No match
284
285/^[a\x{c0}]b/8
286    \x{c0}b
287 0: \x{c0}b
288
289/^([a\x{c0}]*?)aa/8
290    a\x{c0}aaaa/
291 0: a\x{c0}aa
292 1: a\x{c0}
293
294/^([a\x{c0}]*?)aa/8
295    a\x{c0}aaaa/
296 0: a\x{c0}aa
297 1: a\x{c0}
298    a\x{c0}a\x{c0}aaa/
299 0: a\x{c0}a\x{c0}aa
300 1: a\x{c0}a\x{c0}
301
302/^([a\x{c0}]*)aa/8
303    a\x{c0}aaaa/
304 0: a\x{c0}aaaa
305 1: a\x{c0}aa
306    a\x{c0}a\x{c0}aaa/
307 0: a\x{c0}a\x{c0}aaa
308 1: a\x{c0}a\x{c0}a
309
310/^([a\x{c0}]*)a\x{c0}/8
311    a\x{c0}aaaa/
312 0: a\x{c0}
313 1:
314    a\x{c0}a\x{c0}aaa/
315 0: a\x{c0}a\x{c0}
316 1: a\x{c0}
317
318/ End of testinput6 /
319
320