/[pcre]/code/trunk/testdata/testoutput12
ViewVC logotype

Contents of /code/trunk/testdata/testoutput12

Parent Directory Parent Directory | Revision Log Revision Log


Revision 448 - (show annotations)
Tue Sep 15 19:11:48 2009 UTC (10 years, 5 months ago) by ph10
File size: 8666 byte(s)
Error occurred while calculating annotation data.
Re-organize tests to make is possible to test 5.10 features against Perl.
1 /[\p{L}]/DZ
2 ------------------------------------------------------------------
3 Bra
4 [\p{L}]
5 Ket
6 End
7 ------------------------------------------------------------------
8 Capturing subpattern count = 0
9 No options
10 No first char
11 No need char
12
13 /[\p{^L}]/DZ
14 ------------------------------------------------------------------
15 Bra
16 [\P{L}]
17 Ket
18 End
19 ------------------------------------------------------------------
20 Capturing subpattern count = 0
21 No options
22 No first char
23 No need char
24
25 /[\P{L}]/DZ
26 ------------------------------------------------------------------
27 Bra
28 [\P{L}]
29 Ket
30 End
31 ------------------------------------------------------------------
32 Capturing subpattern count = 0
33 No options
34 No first char
35 No need char
36
37 /[\P{^L}]/DZ
38 ------------------------------------------------------------------
39 Bra
40 [\p{L}]
41 Ket
42 End
43 ------------------------------------------------------------------
44 Capturing subpattern count = 0
45 No options
46 No first char
47 No need char
48
49 /[abc\p{L}\x{0660}]/8DZ
50 ------------------------------------------------------------------
51 Bra
52 [a-c\p{L}\x{660}]
53 Ket
54 End
55 ------------------------------------------------------------------
56 Capturing subpattern count = 0
57 Options: utf8
58 No first char
59 No need char
60
61 /[\p{Nd}]/8DZ
62 ------------------------------------------------------------------
63 Bra
64 [\p{Nd}]
65 Ket
66 End
67 ------------------------------------------------------------------
68 Capturing subpattern count = 0
69 Options: utf8
70 No first char
71 No need char
72 1234
73 0: 1
74
75 /[\p{Nd}+-]+/8DZ
76 ------------------------------------------------------------------
77 Bra
78 [+\-\p{Nd}]+
79 Ket
80 End
81 ------------------------------------------------------------------
82 Capturing subpattern count = 0
83 Options: utf8
84 No first char
85 No need char
86 1234
87 0: 1234
88 12-34
89 0: 12-34
90 12+\x{661}-34
91 0: 12+\x{661}-34
92 ** Failers
93 No match
94 abcd
95 No match
96
97 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iDZ
98 ------------------------------------------------------------------
99 Bra
100 NC A\x{391}\x{10427}\x{ff3a}\x{1fb0}
101 Ket
102 End
103 ------------------------------------------------------------------
104 Capturing subpattern count = 0
105 Options: caseless utf8
106 First char = 'A' (caseless)
107 No need char
108
109 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8DZ
110 ------------------------------------------------------------------
111 Bra
112 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
113 Ket
114 End
115 ------------------------------------------------------------------
116 Capturing subpattern count = 0
117 Options: utf8
118 First char = 'A'
119 Need char = 176
120
121 /AB\x{1fb0}/8DZ
122 ------------------------------------------------------------------
123 Bra
124 AB\x{1fb0}
125 Ket
126 End
127 ------------------------------------------------------------------
128 Capturing subpattern count = 0
129 Options: utf8
130 First char = 'A'
131 Need char = 176
132
133 /AB\x{1fb0}/8DZi
134 ------------------------------------------------------------------
135 Bra
136 NC AB\x{1fb0}
137 Ket
138 End
139 ------------------------------------------------------------------
140 Capturing subpattern count = 0
141 Options: caseless utf8
142 First char = 'A' (caseless)
143 Need char = 'B' (caseless)
144
145 /[\x{105}-\x{109}]/8iDZ
146 ------------------------------------------------------------------
147 Bra
148 [\x{104}-\x{109}]
149 Ket
150 End
151 ------------------------------------------------------------------
152 Capturing subpattern count = 0
153 Options: caseless utf8
154 No first char
155 No need char
156 \x{104}
157 0: \x{104}
158 \x{105}
159 0: \x{105}
160 \x{109}
161 0: \x{109}
162 ** Failers
163 No match
164 \x{100}
165 No match
166 \x{10a}
167 No match
168
169 /[z-\x{100}]/8iDZ
170 ------------------------------------------------------------------
171 Bra
172 [Z\x{39c}\x{178}z-\x{101}]
173 Ket
174 End
175 ------------------------------------------------------------------
176 Capturing subpattern count = 0
177 Options: caseless utf8
178 No first char
179 No need char
180 Z
181 0: Z
182 z
183 0: z
184 \x{39c}
185 0: \x{39c}
186 \x{178}
187 0: \x{178}
188 |
189 0: |
190 \x{80}
191 0: \x{80}
192 \x{ff}
193 0: \x{ff}
194 \x{100}
195 0: \x{100}
196 \x{101}
197 0: \x{101}
198 ** Failers
199 No match
200 \x{102}
201 No match
202 Y
203 No match
204 y
205 No match
206
207 /[z-\x{100}]/8DZi
208 ------------------------------------------------------------------
209 Bra
210 [Z\x{39c}\x{178}z-\x{101}]
211 Ket
212 End
213 ------------------------------------------------------------------
214 Capturing subpattern count = 0
215 Options: caseless utf8
216 No first char
217 No need char
218
219 /(?:[\PPa*]*){8,}/
220
221 /[\P{Any}]/BZ
222 ------------------------------------------------------------------
223 Bra
224 [\P{Any}]
225 Ket
226 End
227 ------------------------------------------------------------------
228
229 /[\P{Any}\E]/BZ
230 ------------------------------------------------------------------
231 Bra
232 [\P{Any}]
233 Ket
234 End
235 ------------------------------------------------------------------
236
237 /(\P{Yi}+\277)/
238
239 /(\P{Yi}+\277)?/
240
241 /(?<=\P{Yi}{3}A)X/
242
243 /\p{Yi}+(\P{Yi}+)(?1)/
244
245 /(\P{Yi}{2}\277)?/
246
247 /[\P{Yi}A]/
248
249 /[\P{Yi}\P{Yi}\P{Yi}A]/
250
251 /[^\P{Yi}A]/
252
253 /[^\P{Yi}\P{Yi}\P{Yi}A]/
254
255 /(\P{Yi}*\277)*/
256
257 /(\P{Yi}*?\277)*/
258
259 /(\p{Yi}*+\277)*/
260
261 /(\P{Yi}?\277)*/
262
263 /(\P{Yi}??\277)*/
264
265 /(\p{Yi}?+\277)*/
266
267 /(\P{Yi}{0,3}\277)*/
268
269 /(\P{Yi}{0,3}?\277)*/
270
271 /(\p{Yi}{0,3}+\277)*/
272
273 /\p{Zl}{2,3}+/8BZ
274 ------------------------------------------------------------------
275 Bra
276 prop Zl {2}
277 prop Zl ?+
278 Ket
279 End
280 ------------------------------------------------------------------
281 \xe2\x80\xa8\xe2\x80\xa8
282 0: \x{2028}\x{2028}
283 \x{2028}\x{2028}\x{2028}
284 0: \x{2028}\x{2028}\x{2028}
285
286 /\p{Zl}/8BZ
287 ------------------------------------------------------------------
288 Bra
289 prop Zl
290 Ket
291 End
292 ------------------------------------------------------------------
293
294 /\p{Lu}{3}+/8BZ
295 ------------------------------------------------------------------
296 Bra
297 prop Lu {3}
298 Ket
299 End
300 ------------------------------------------------------------------
301
302 /\pL{2}+/8BZ
303 ------------------------------------------------------------------
304 Bra
305 prop L {2}
306 Ket
307 End
308 ------------------------------------------------------------------
309
310 /\p{Cc}{2}+/8BZ
311 ------------------------------------------------------------------
312 Bra
313 prop Cc {2}
314 Ket
315 End
316 ------------------------------------------------------------------
317
318 /^\p{Cs}/8
319 \?\x{dfff}
320 0: \x{dfff}
321 ** Failers
322 No match
323 \x{09f}
324 No match
325
326 /^\p{Sc}+/8
327 $\x{a2}\x{a3}\x{a4}\x{a5}\x{a6}
328 0: $\x{a2}\x{a3}\x{a4}\x{a5}
329 \x{9f2}
330 0: \x{9f2}
331 ** Failers
332 No match
333 X
334 No match
335 \x{2c2}
336 No match
337
338 /^\p{Zs}/8
339 \ \
340 0:
341 \x{a0}
342 0: \x{a0}
343 \x{1680}
344 0: \x{1680}
345 \x{180e}
346 0: \x{180e}
347 \x{2000}
348 0: \x{2000}
349 \x{2001}
350 0: \x{2001}
351 ** Failers
352 No match
353 \x{2028}
354 No match
355 \x{200d}
356 No match
357
358 /\p{^Lu}/8i
359 1234
360 0: 1
361 ** Failers
362 0: *
363 ABC
364 No match
365
366 /\P{Lu}/8i
367 1234
368 0: 1
369 ** Failers
370 0: *
371 ABC
372 No match
373
374 /\p{Ll}/8i
375 a
376 0: a
377 Az
378 0: z
379 ** Failers
380 0: a
381 ABC
382 No match
383
384 /\p{Lu}/8i
385 A
386 0: A
387 a\x{10a0}B
388 0: \x{10a0}
389 ** Failers
390 0: F
391 a
392 No match
393 \x{1d00}
394 No match
395
396 /[\x{c0}\x{391}]/8i
397 \x{c0}
398 0: \x{c0}
399 \x{e0}
400 0: \x{e0}
401
402 /The next two are special cases where the lengths of the different cases of the
403 same character differ. The first went wrong with heap frame storage; the 2nd
404 was broken in all cases./
405
406 /^\x{023a}+?(\x{0130}+)/8i
407 \x{023a}\x{2c65}\x{0130}
408 0: \x{23a}\x{2c65}\x{130}
409 1: \x{130}
410
411 /^\x{023a}+([^X])/8i
412 \x{023a}\x{2c65}X
413 0: \x{23a}\x{2c65}
414 1: \x{2c65}
415
416 /\x{c0}+\x{116}+/8i
417 \x{c0}\x{e0}\x{116}\x{117}
418 0: \x{c0}\x{e0}\x{116}\x{117}
419
420 /[\x{c0}\x{116}]+/8i
421 \x{c0}\x{e0}\x{116}\x{117}
422 0: \x{c0}\x{e0}\x{116}\x{117}
423
424 /(\x{de})\1/8i
425 \x{de}\x{de}
426 0: \x{de}\x{de}
427 1: \x{de}
428 \x{de}\x{fe}
429 0: \x{de}\x{fe}
430 1: \x{de}
431 \x{fe}\x{fe}
432 0: \x{fe}\x{fe}
433 1: \x{fe}
434 \x{fe}\x{de}
435 0: \x{fe}\x{de}
436 1: \x{fe}
437
438 /^\x{c0}$/8i
439 \x{c0}
440 0: \x{c0}
441 \x{e0}
442 0: \x{e0}
443
444 /^\x{e0}$/8i
445 \x{c0}
446 0: \x{c0}
447 \x{e0}
448 0: \x{e0}
449
450 /The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
451 will match it only with UCP support, because without that it has no notion
452 of case for anything other than the ASCII letters. /
453
454 /((?i)[\x{c0}])/8
455 \x{c0}
456 0: \x{c0}
457 1: \x{c0}
458 \x{e0}
459 0: \x{e0}
460 1: \x{e0}
461
462 /(?i:[\x{c0}])/8
463 \x{c0}
464 0: \x{c0}
465 \x{e0}
466 0: \x{e0}
467

  ViewVC Help
Powered by ViewVC 1.1.5