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

Contents of /code/trunk/testdata/testinput6

Parent Directory Parent Directory | Revision Log Revision Log


Revision 448 - (show annotations)
Tue Sep 15 19:11:48 2009 UTC (10 years ago) by ph10
File size: 10944 byte(s)
Re-organize tests to make is possible to test 5.10 features against Perl.
1 /^\pC\pL\pM\pN\pP\pS\pZ</8
2 \x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
3 \np\x{300}9!\$ <
4 ** Failers
5 ap\x{300}9!\$ <
6
7 /^\PC/8
8 X
9 ** Failers
10 \x7f
11
12 /^\PL/8
13 9
14 ** Failers
15 \x{c0}
16
17 /^\PM/8
18 X
19 ** Failers
20 \x{30f}
21
22 /^\PN/8
23 X
24 ** Failers
25 \x{660}
26
27 /^\PP/8
28 X
29 ** Failers
30 \x{66c}
31
32 /^\PS/8
33 X
34 ** Failers
35 \x{f01}
36
37 /^\PZ/8
38 X
39 ** Failers
40 \x{1680}
41
42 /^\p{Cc}/8
43 \x{017}
44 \x{09f}
45 ** Failers
46 \x{0600}
47
48 /^\p{Cf}/8
49 \x{601}
50 ** Failers
51 \x{09f}
52
53 /^\p{Cn}/8
54 \x{e0000}
55 ** Failers
56 \x{09f}
57
58 /^\p{Co}/8
59 \x{f8ff}
60 ** Failers
61 \x{09f}
62
63 /^\p{Ll}/8
64 a
65 ** Failers
66 Z
67 \x{e000}
68
69 /^\p{Lm}/8
70 \x{2b0}
71 ** Failers
72 a
73
74 /^\p{Lo}/8
75 \x{1bb}
76 \x{3400}
77 \x{3401}
78 \x{4d00}
79 \x{4db4}
80 \x{4db5}
81 ** Failers
82 a
83 \x{2b0}
84 \x{4db6}
85
86 /^\p{Lt}/8
87 \x{1c5}
88 ** Failers
89 a
90 \x{2b0}
91
92 /^\p{Lu}/8
93 A
94 ** Failers
95 \x{2b0}
96
97 /^\p{Mc}/8
98 \x{903}
99 ** Failers
100 X
101 \x{300}
102
103 /^\p{Me}/8
104 \x{488}
105 ** Failers
106 X
107 \x{903}
108 \x{300}
109
110 /^\p{Mn}/8
111 \x{300}
112 ** Failers
113 X
114 \x{903}
115
116 /^\p{Nd}+/8
117 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}\x{66a}
118 \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}\x{6fa}
119 \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}\x{970}
120 ** Failers
121 X
122
123 /^\p{Nl}/8
124 \x{16ee}
125 ** Failers
126 X
127 \x{966}
128
129 /^\p{No}/8
130 \x{b2}
131 \x{b3}
132 ** Failers
133 X
134 \x{16ee}
135
136 /^\p{Pc}/8
137 \x5f
138 \x{203f}
139 ** Failers
140 X
141 -
142 \x{58a}
143
144 /^\p{Pd}/8
145 -
146 \x{58a}
147 ** Failers
148 X
149 \x{203f}
150
151 /^\p{Pe}/8
152 )
153 ]
154 }
155 \x{f3b}
156 ** Failers
157 X
158 \x{203f}
159 (
160 [
161 {
162 \x{f3c}
163
164 /^\p{Pf}/8
165 \x{bb}
166 \x{2019}
167 ** Failers
168 X
169 \x{203f}
170
171 /^\p{Pi}/8
172 \x{ab}
173 \x{2018}
174 ** Failers
175 X
176 \x{203f}
177
178 /^\p{Po}/8
179 !
180 \x{37e}
181 ** Failers
182 X
183 \x{203f}
184
185 /^\p{Ps}/8
186 (
187 [
188 {
189 \x{f3c}
190 ** Failers
191 X
192 )
193 ]
194 }
195 \x{f3b}
196
197 /^\p{Sk}/8
198 \x{2c2}
199 ** Failers
200 X
201 \x{9f2}
202
203 /^\p{Sm}+/8
204 +<|~\x{ac}\x{2044}
205 ** Failers
206 X
207 \x{9f2}
208
209 /^\p{So}/8
210 \x{a6}
211 \x{482}
212 ** Failers
213 X
214 \x{9f2}
215
216 /^\p{Zl}/8
217 \x{2028}
218 ** Failers
219 X
220 \x{2029}
221
222 /^\p{Zp}/8
223 \x{2029}
224 ** Failers
225 X
226 \x{2028}
227
228 /\p{Nd}+(..)/8
229 \x{660}\x{661}\x{662}ABC
230
231 /\p{Nd}+?(..)/8
232 \x{660}\x{661}\x{662}ABC
233
234 /\p{Nd}{2,}(..)/8
235 \x{660}\x{661}\x{662}ABC
236
237 /\p{Nd}{2,}?(..)/8
238 \x{660}\x{661}\x{662}ABC
239
240 /\p{Nd}*(..)/8
241 \x{660}\x{661}\x{662}ABC
242
243 /\p{Nd}*?(..)/8
244 \x{660}\x{661}\x{662}ABC
245
246 /\p{Nd}{2}(..)/8
247 \x{660}\x{661}\x{662}ABC
248
249 /\p{Nd}{2,3}(..)/8
250 \x{660}\x{661}\x{662}ABC
251
252 /\p{Nd}{2,3}?(..)/8
253 \x{660}\x{661}\x{662}ABC
254
255 /\p{Nd}?(..)/8
256 \x{660}\x{661}\x{662}ABC
257
258 /\p{Nd}??(..)/8
259 \x{660}\x{661}\x{662}ABC
260
261 /\p{Nd}*+(..)/8
262 \x{660}\x{661}\x{662}ABC
263
264 /\p{Nd}*+(...)/8
265 \x{660}\x{661}\x{662}ABC
266
267 /\p{Nd}*+(....)/8
268 ** Failers
269 \x{660}\x{661}\x{662}ABC
270
271 /(?<=A\p{Nd})XYZ/8
272 A2XYZ
273 123A5XYZPQR
274 ABA\x{660}XYZpqr
275 ** Failers
276 AXYZ
277 XYZ
278
279 /(?<!\pL)XYZ/8
280 1XYZ
281 AB=XYZ..
282 XYZ
283 ** Failers
284 WXYZ
285
286 /[\P{Nd}]+/8
287 abcd
288 ** Failers
289 1234
290
291 /\D+/8
292 11111111111111111111111111111111111111111111111111111111111111111111111
293 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
294
295 /\P{Nd}+/8
296 11111111111111111111111111111111111111111111111111111111111111111111111
297 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
298
299 /[\D]+/8
300 11111111111111111111111111111111111111111111111111111111111111111111111
301 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
302
303 /[\P{Nd}]+/8
304 11111111111111111111111111111111111111111111111111111111111111111111111
305 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
306
307 /[\D\P{Nd}]+/8
308 11111111111111111111111111111111111111111111111111111111111111111111111
309 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
310
311 /\pL/8
312 a
313 A
314
315 /\pL/8i
316 a
317 A
318
319 /\p{Lu}/8
320 A
321 aZ
322 ** Failers
323 abc
324
325 /\p{Lu}/8i
326 A
327 aZ
328 ** Failers
329 abc
330
331 /\p{Ll}/8
332 a
333 Az
334 ** Failers
335 ABC
336
337 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8
338 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
339 ** Failers
340 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
341 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
342 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
343 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
344 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
345
346 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8i
347 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
348 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
349 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
350 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
351 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
352 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
353
354 /\x{391}+/8i
355 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
356
357 /\x{391}{3,5}(.)/8i
358 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
359
360 /\x{391}{3,5}?(.)/8i
361 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
362
363 /[\x{391}\x{ff3a}]/8i
364 \x{391}
365 \x{ff3a}
366 \x{3b1}
367 \x{ff5a}
368
369 /^\X/8
370 A
371 A\x{300}BC
372 A\x{300}\x{301}\x{302}BC
373 *** Failers
374 \x{300}
375
376 /^[\X]/8
377 X123
378 *** Failers
379 AXYZ
380
381 /^(\X*)C/8
382 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
383 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
384
385 /^(\X*?)C/8
386 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
387 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
388
389 /^(\X*)(.)/8
390 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
391 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
392
393 /^(\X*?)(.)/8
394 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
395 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
396
397 /^\X(.)/8
398 *** Failers
399 A\x{300}\x{301}\x{302}
400
401 /^\X{2,3}(.)/8
402 A\x{300}\x{301}B\x{300}X
403 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
404 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
405 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
406
407 /^\X{2,3}?(.)/8
408 A\x{300}\x{301}B\x{300}X
409 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
410 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
411 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
412
413 /^\p{Han}+/8
414 \x{2e81}\x{3007}\x{2f804}\x{31a0}
415 ** Failers
416 \x{2e7f}
417
418 /^\P{Katakana}+/8
419 \x{3105}
420 ** Failers
421 \x{30ff}
422
423 /^[\p{Arabic}]/8
424 \x{06e9}
425 \x{060b}
426 ** Failers
427 X\x{06e9}
428
429 /^[\P{Yi}]/8
430 \x{2f800}
431 ** Failers
432 \x{a014}
433 \x{a4c6}
434
435 /^\p{Any}X/8
436 AXYZ
437 \x{1234}XYZ
438 ** Failers
439 X
440
441 /^\P{Any}X/8
442 ** Failers
443 AX
444
445 /^\p{Any}?X/8
446 XYZ
447 AXYZ
448 \x{1234}XYZ
449 ** Failers
450 ABXYZ
451
452 /^\P{Any}?X/8
453 XYZ
454 ** Failers
455 AXYZ
456 \x{1234}XYZ
457 ABXYZ
458
459 /^\p{Any}+X/8
460 AXYZ
461 \x{1234}XYZ
462 A\x{1234}XYZ
463 ** Failers
464 XYZ
465
466 /^\P{Any}+X/8
467 ** Failers
468 AXYZ
469 \x{1234}XYZ
470 A\x{1234}XYZ
471 XYZ
472
473 /^\p{Any}*X/8
474 XYZ
475 AXYZ
476 \x{1234}XYZ
477 A\x{1234}XYZ
478 ** Failers
479
480 /^\P{Any}*X/8
481 XYZ
482 ** Failers
483 AXYZ
484 \x{1234}XYZ
485 A\x{1234}XYZ
486
487 /^[\p{Any}]X/8
488 AXYZ
489 \x{1234}XYZ
490 ** Failers
491 X
492
493 /^[\P{Any}]X/8
494 ** Failers
495 AX
496
497 /^[\p{Any}]?X/8
498 XYZ
499 AXYZ
500 \x{1234}XYZ
501 ** Failers
502 ABXYZ
503
504 /^[\P{Any}]?X/8
505 XYZ
506 ** Failers
507 AXYZ
508 \x{1234}XYZ
509 ABXYZ
510
511 /^[\p{Any}]+X/8
512 AXYZ
513 \x{1234}XYZ
514 A\x{1234}XYZ
515 ** Failers
516 XYZ
517
518 /^[\P{Any}]+X/8
519 ** Failers
520 AXYZ
521 \x{1234}XYZ
522 A\x{1234}XYZ
523 XYZ
524
525 /^[\p{Any}]*X/8
526 XYZ
527 AXYZ
528 \x{1234}XYZ
529 A\x{1234}XYZ
530 ** Failers
531
532 /^[\P{Any}]*X/8
533 XYZ
534 ** Failers
535 AXYZ
536 \x{1234}XYZ
537 A\x{1234}XYZ
538
539 /^\p{Any}{3,5}?/8
540 abcdefgh
541 \x{1234}\n\r\x{3456}xyz
542
543 /^\p{Any}{3,5}/8
544 abcdefgh
545 \x{1234}\n\r\x{3456}xyz
546
547 /^\P{Any}{3,5}?/8
548 ** Failers
549 abcdefgh
550 \x{1234}\n\r\x{3456}xyz
551
552 /^\p{L&}X/8
553 AXY
554 aXY
555 \x{1c5}XY
556 ** Failers
557 \x{1bb}XY
558 \x{2b0}XY
559 !XY
560
561 /^[\p{L&}]X/8
562 AXY
563 aXY
564 \x{1c5}XY
565 ** Failers
566 \x{1bb}XY
567 \x{2b0}XY
568 !XY
569
570 /^\p{L&}+X/8
571 AXY
572 aXY
573 AbcdeXyz
574 \x{1c5}AbXY
575 abcDEXypqreXlmn
576 ** Failers
577 \x{1bb}XY
578 \x{2b0}XY
579 !XY
580
581 /^[\p{L&}]+X/8
582 AXY
583 aXY
584 AbcdeXyz
585 \x{1c5}AbXY
586 abcDEXypqreXlmn
587 ** Failers
588 \x{1bb}XY
589 \x{2b0}XY
590 !XY
591
592 /^\p{L&}+?X/8
593 AXY
594 aXY
595 AbcdeXyz
596 \x{1c5}AbXY
597 abcDEXypqreXlmn
598 ** Failers
599 \x{1bb}XY
600 \x{2b0}XY
601 !XY
602
603 /^[\p{L&}]+?X/8
604 AXY
605 aXY
606 AbcdeXyz
607 \x{1c5}AbXY
608 abcDEXypqreXlmn
609 ** Failers
610 \x{1bb}XY
611 \x{2b0}XY
612 !XY
613
614 /^\P{L&}X/8
615 !XY
616 \x{1bb}XY
617 \x{2b0}XY
618 ** Failers
619 \x{1c5}XY
620 AXY
621
622 /^[\P{L&}]X/8
623 !XY
624 \x{1bb}XY
625 \x{2b0}XY
626 ** Failers
627 \x{1c5}XY
628 AXY
629
630 /^(\p{Z}[^\p{C}\p{Z}]+)*$/
631 \xa0!
632
633 /^[\pL](abc)(?1)/
634 AabcabcYZ
635
636 /([\pL]=(abc))*X/
637 L=abcX
638
639 /^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
640 \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
641
642 /Check property support in non-UTF-8 mode/
643
644 /\p{L}{4}/
645 123abcdefg
646 123abc\xc4\xc5zz
647
648 /\X{1,3}\d/
649 \x8aBCD
650
651 /\X?\d/
652 \x8aBCD
653
654 /\P{L}?\d/
655 \x8aBCD
656
657 /[\PPP\x8a]{1,}\x80/
658 A\x80
659
660 /^[\p{Arabic}]/8
661 \x{60e}
662 \x{656}
663 \x{657}
664 \x{658}
665 \x{659}
666 \x{65a}
667 \x{65b}
668 \x{65c}
669 \x{65d}
670 \x{65e}
671 \x{66a}
672 \x{6e9}
673 \x{6ef}
674 \x{6fa}
675 ** Failers
676 \x{600}
677 \x{650}
678 \x{651}
679 \x{652}
680 \x{653}
681 \x{654}
682 \x{655}
683 \x{65f}
684
685 /^\p{Cyrillic}/8
686 \x{1d2b}
687
688 /^\p{Common}/8
689 \x{589}
690 \x{60c}
691 \x{61f}
692 \x{964}
693 \x{965}
694 \x{970}
695
696 /^\p{Inherited}/8
697 \x{64b}
698 \x{654}
699 \x{655}
700 \x{200c}
701 ** Failers
702 \x{64a}
703 \x{656}
704
705 /^\p{Shavian}/8
706 \x{10450}
707 \x{1047f}
708
709 /^\p{Deseret}/8
710 \x{10400}
711 \x{1044f}
712
713 /^\p{Osmanya}/8
714 \x{10480}
715 \x{1049d}
716 \x{104a0}
717 \x{104a9}
718 ** Failers
719 \x{1049e}
720 \x{1049f}
721 \x{104aa}
722
723 /\p{Carian}\p{Cham}\p{Kayah_Li}\p{Lepcha}\p{Lycian}\p{Lydian}\p{Ol_Chiki}\p{Rejang}\p{Saurashtra}\p{Sundanese}\p{Vai}/8
724 \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}====
725
726 /\x{a77d}\x{1d79}/8i
727 \x{a77d}\x{1d79}
728 \x{1d79}\x{a77d}
729
730 /\x{a77d}\x{1d79}/8
731 \x{a77d}\x{1d79}
732 ** Failers
733 \x{1d79}\x{a77d}
734
735 /(A)\1/8i
736 AA
737 Aa
738 aa
739 aA
740
741 /(\x{10a})\1/8i
742 \x{10a}\x{10a}
743 \x{10a}\x{10b}
744 \x{10b}\x{10b}
745 \x{10b}\x{10a}
746
747 /The next two tests are for property support in non-UTF-8 mode/
748
749 /(?:\p{Lu}|\x20)+/
750 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
751
752 /[\p{Lu}\x20]+/
753 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
754
755 / End of testinput6 /

Properties

Name Value
svn:keywords "Author Date Id Revision Url"

  ViewVC Help
Powered by ViewVC 1.1.5