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

Contents of /code/trunk/testdata/testoutput6

Parent Directory Parent Directory | Revision Log Revision Log


Revision 115 - (show annotations)
Fri Mar 9 12:23:37 2007 UTC (8 years, 4 months ago) by ph10
File size: 21653 byte(s)
Error occurred while calculating annotation data.
Fix two obscure, but nasty bugs concerned with caseless matching with Unicode 
property support.
1 /^\pC\pL\pM\pN\pP\pS\pZ</8
2 \x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
3 0: \x{7f}\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
4 \np\x{300}9!\$ <
5 0: \x{0a}p\x{300}9!$ <
6 ** Failers
7 No match
8 ap\x{300}9!\$ <
9 No match
10
11 /^\PC/8
12 X
13 0: X
14 ** Failers
15 0: *
16 \x7f
17 No match
18
19 /^\PL/8
20 9
21 0: 9
22 ** Failers
23 0: *
24 \x{c0}
25 No match
26
27 /^\PM/8
28 X
29 0: X
30 ** Failers
31 0: *
32 \x{30f}
33 No match
34
35 /^\PN/8
36 X
37 0: X
38 ** Failers
39 0: *
40 \x{660}
41 No match
42
43 /^\PP/8
44 X
45 0: X
46 ** Failers
47 No match
48 \x{66c}
49 No match
50
51 /^\PS/8
52 X
53 0: X
54 ** Failers
55 0: *
56 \x{f01}
57 No match
58
59 /^\PZ/8
60 X
61 0: X
62 ** Failers
63 0: *
64 \x{1680}
65 No match
66
67 /^\p{Cc}/8
68 \x{017}
69 0: \x{17}
70 \x{09f}
71 0: \x{9f}
72 ** Failers
73 No match
74 \x{0600}
75 No match
76
77 /^\p{Cf}/8
78 \x{601}
79 0: \x{601}
80 ** Failers
81 No match
82 \x{09f}
83 No match
84
85 /^\p{Cn}/8
86 \x{e0000}
87 0: \x{e0000}
88 ** Failers
89 No match
90 \x{09f}
91 No match
92
93 /^\p{Co}/8
94 \x{f8ff}
95 0: \x{f8ff}
96 ** Failers
97 No match
98 \x{09f}
99 No match
100
101 /^\p{Cs}/8
102 \x{dfff}
103 0: \x{dfff}
104 ** Failers
105 No match
106 \x{09f}
107 No match
108
109 /^\p{Ll}/8
110 a
111 0: a
112 ** Failers
113 No match
114 Z
115 No match
116 \x{dfff}
117 No match
118
119 /^\p{Lm}/8
120 \x{2b0}
121 0: \x{2b0}
122 ** Failers
123 No match
124 a
125 No match
126
127 /^\p{Lo}/8
128 \x{1bb}
129 0: \x{1bb}
130 \x{3400}
131 0: \x{3400}
132 \x{3401}
133 0: \x{3401}
134 \x{4d00}
135 0: \x{4d00}
136 \x{4db4}
137 0: \x{4db4}
138 \x{4db5}
139 0: \x{4db5}
140 ** Failers
141 No match
142 a
143 No match
144 \x{2b0}
145 No match
146 \x{4db6}
147 No match
148
149 /^\p{Lt}/8
150 \x{1c5}
151 0: \x{1c5}
152 ** Failers
153 No match
154 a
155 No match
156 \x{2b0}
157 No match
158
159 /^\p{Lu}/8
160 A
161 0: A
162 ** Failers
163 No match
164 \x{2b0}
165 No match
166
167 /^\p{Mc}/8
168 \x{903}
169 0: \x{903}
170 ** Failers
171 No match
172 X
173 No match
174 \x{300}
175 No match
176
177 /^\p{Me}/8
178 \x{488}
179 0: \x{488}
180 ** Failers
181 No match
182 X
183 No match
184 \x{903}
185 No match
186 \x{300}
187 No match
188
189 /^\p{Mn}/8
190 \x{300}
191 0: \x{300}
192 ** Failers
193 No match
194 X
195 No match
196 \x{903}
197 No match
198
199 /^\p{Nd}+/8
200 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}\x{66a}
201 0: 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}
202 \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}\x{6fa}
203 0: \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}
204 \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}\x{970}
205 0: \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}
206 ** Failers
207 No match
208 X
209 No match
210
211 /^\p{Nl}/8
212 \x{16ee}
213 0: \x{16ee}
214 ** Failers
215 No match
216 X
217 No match
218 \x{966}
219 No match
220
221 /^\p{No}/8
222 \x{b2}
223 0: \x{b2}
224 \x{b3}
225 0: \x{b3}
226 ** Failers
227 No match
228 X
229 No match
230 \x{16ee}
231 No match
232
233 /^\p{Pc}/8
234 \x5f
235 0: _
236 \x{203f}
237 0: \x{203f}
238 ** Failers
239 No match
240 X
241 No match
242 -
243 No match
244 \x{58a}
245 No match
246
247 /^\p{Pd}/8
248 -
249 0: -
250 \x{58a}
251 0: \x{58a}
252 ** Failers
253 No match
254 X
255 No match
256 \x{203f}
257 No match
258
259 /^\p{Pe}/8
260 )
261 0: )
262 ]
263 0: ]
264 }
265 0: }
266 \x{f3b}
267 0: \x{f3b}
268 ** Failers
269 No match
270 X
271 No match
272 \x{203f}
273 No match
274 (
275 No match
276 [
277 No match
278 {
279 No match
280 \x{f3c}
281 No match
282
283 /^\p{Pf}/8
284 \x{bb}
285 0: \x{bb}
286 \x{2019}
287 0: \x{2019}
288 ** Failers
289 No match
290 X
291 No match
292 \x{203f}
293 No match
294
295 /^\p{Pi}/8
296 \x{ab}
297 0: \x{ab}
298 \x{2018}
299 0: \x{2018}
300 ** Failers
301 No match
302 X
303 No match
304 \x{203f}
305 No match
306
307 /^\p{Po}/8
308 !
309 0: !
310 \x{37e}
311 0: \x{37e}
312 ** Failers
313 0: *
314 X
315 No match
316 \x{203f}
317 No match
318
319 /^\p{Ps}/8
320 (
321 0: (
322 [
323 0: [
324 {
325 0: {
326 \x{f3c}
327 0: \x{f3c}
328 ** Failers
329 No match
330 X
331 No match
332 )
333 No match
334 ]
335 No match
336 }
337 No match
338 \x{f3b}
339 No match
340
341 /^\p{Sc}+/8
342 $\x{a2}\x{a3}\x{a4}\x{a5}\x{a6}
343 0: $\x{a2}\x{a3}\x{a4}\x{a5}
344 \x{9f2}
345 0: \x{9f2}
346 ** Failers
347 No match
348 X
349 No match
350 \x{2c2}
351 No match
352
353 /^\p{Sk}/8
354 \x{2c2}
355 0: \x{2c2}
356 ** Failers
357 No match
358 X
359 No match
360 \x{9f2}
361 No match
362
363 /^\p{Sm}+/8
364 +<|~\x{ac}\x{2044}
365 0: +<|~\x{ac}\x{2044}
366 ** Failers
367 No match
368 X
369 No match
370 \x{9f2}
371 No match
372
373 /^\p{So}/8
374 \x{a6}
375 0: \x{a6}
376 \x{482}
377 0: \x{482}
378 ** Failers
379 No match
380 X
381 No match
382 \x{9f2}
383 No match
384
385 /^\p{Zl}/8
386 \x{2028}
387 0: \x{2028}
388 ** Failers
389 No match
390 X
391 No match
392 \x{2029}
393 No match
394
395 /^\p{Zp}/8
396 \x{2029}
397 0: \x{2029}
398 ** Failers
399 No match
400 X
401 No match
402 \x{2028}
403 No match
404
405 /^\p{Zs}/8
406 \ \
407 0:
408 \x{a0}
409 0: \x{a0}
410 \x{1680}
411 0: \x{1680}
412 \x{180e}
413 0: \x{180e}
414 \x{2000}
415 0: \x{2000}
416 \x{2001}
417 0: \x{2001}
418 ** Failers
419 No match
420 \x{2028}
421 No match
422 \x{200d}
423 No match
424
425 /\p{Nd}+(..)/8
426 \x{660}\x{661}\x{662}ABC
427 0: \x{660}\x{661}\x{662}AB
428 1: AB
429
430 /\p{Nd}+?(..)/8
431 \x{660}\x{661}\x{662}ABC
432 0: \x{660}\x{661}\x{662}
433 1: \x{661}\x{662}
434
435 /\p{Nd}{2,}(..)/8
436 \x{660}\x{661}\x{662}ABC
437 0: \x{660}\x{661}\x{662}AB
438 1: AB
439
440 /\p{Nd}{2,}?(..)/8
441 \x{660}\x{661}\x{662}ABC
442 0: \x{660}\x{661}\x{662}A
443 1: \x{662}A
444
445 /\p{Nd}*(..)/8
446 \x{660}\x{661}\x{662}ABC
447 0: \x{660}\x{661}\x{662}AB
448 1: AB
449
450 /\p{Nd}*?(..)/8
451 \x{660}\x{661}\x{662}ABC
452 0: \x{660}\x{661}
453 1: \x{660}\x{661}
454
455 /\p{Nd}{2}(..)/8
456 \x{660}\x{661}\x{662}ABC
457 0: \x{660}\x{661}\x{662}A
458 1: \x{662}A
459
460 /\p{Nd}{2,3}(..)/8
461 \x{660}\x{661}\x{662}ABC
462 0: \x{660}\x{661}\x{662}AB
463 1: AB
464
465 /\p{Nd}{2,3}?(..)/8
466 \x{660}\x{661}\x{662}ABC
467 0: \x{660}\x{661}\x{662}A
468 1: \x{662}A
469
470 /\p{Nd}?(..)/8
471 \x{660}\x{661}\x{662}ABC
472 0: \x{660}\x{661}\x{662}
473 1: \x{661}\x{662}
474
475 /\p{Nd}??(..)/8
476 \x{660}\x{661}\x{662}ABC
477 0: \x{660}\x{661}
478 1: \x{660}\x{661}
479
480 /\p{Nd}*+(..)/8
481 \x{660}\x{661}\x{662}ABC
482 0: \x{660}\x{661}\x{662}AB
483 1: AB
484
485 /\p{Nd}*+(...)/8
486 \x{660}\x{661}\x{662}ABC
487 0: \x{660}\x{661}\x{662}ABC
488 1: ABC
489
490 /\p{Nd}*+(....)/8
491 ** Failers
492 0: ** F
493 1: ** F
494 \x{660}\x{661}\x{662}ABC
495 No match
496
497 /\p{Lu}/8i
498 A
499 0: A
500 a\x{10a0}B
501 0: \x{10a0}
502 ** Failers
503 0: F
504 a
505 No match
506 \x{1d00}
507 No match
508
509 /\p{^Lu}/8i
510 1234
511 0: 1
512 ** Failers
513 0: *
514 ABC
515 No match
516
517 /\P{Lu}/8i
518 1234
519 0: 1
520 ** Failers
521 0: *
522 ABC
523 No match
524
525 /(?<=A\p{Nd})XYZ/8
526 A2XYZ
527 0: XYZ
528 123A5XYZPQR
529 0: XYZ
530 ABA\x{660}XYZpqr
531 0: XYZ
532 ** Failers
533 No match
534 AXYZ
535 No match
536 XYZ
537 No match
538
539 /(?<!\pL)XYZ/8
540 1XYZ
541 0: XYZ
542 AB=XYZ..
543 0: XYZ
544 XYZ
545 0: XYZ
546 ** Failers
547 No match
548 WXYZ
549 No match
550
551 /[\p{L}]/D
552 ------------------------------------------------------------------
553 0 11 Bra 0
554 3 [\p{L}]
555 11 11 Ket
556 14 End
557 ------------------------------------------------------------------
558 Capturing subpattern count = 0
559 No options
560 No first char
561 No need char
562
563 /[\p{^L}]/D
564 ------------------------------------------------------------------
565 0 11 Bra 0
566 3 [\P{L}]
567 11 11 Ket
568 14 End
569 ------------------------------------------------------------------
570 Capturing subpattern count = 0
571 No options
572 No first char
573 No need char
574
575 /[\P{L}]/D
576 ------------------------------------------------------------------
577 0 11 Bra 0
578 3 [\P{L}]
579 11 11 Ket
580 14 End
581 ------------------------------------------------------------------
582 Capturing subpattern count = 0
583 No options
584 No first char
585 No need char
586
587 /[\P{^L}]/D
588 ------------------------------------------------------------------
589 0 11 Bra 0
590 3 [\p{L}]
591 11 11 Ket
592 14 End
593 ------------------------------------------------------------------
594 Capturing subpattern count = 0
595 No options
596 No first char
597 No need char
598
599 /[abc\p{L}\x{0660}]/8D
600 ------------------------------------------------------------------
601 0 46 Bra 0
602 3 [a-c\p{L}\x{660}]
603 46 46 Ket
604 49 End
605 ------------------------------------------------------------------
606 Capturing subpattern count = 0
607 Options: utf8
608 No first char
609 No need char
610
611 /[\p{Nd}]/8DM
612 Memory allocation (code space): 15
613 ------------------------------------------------------------------
614 0 11 Bra 0
615 3 [\p{Nd}]
616 11 11 Ket
617 14 End
618 ------------------------------------------------------------------
619 Capturing subpattern count = 0
620 Options: utf8
621 No first char
622 No need char
623 1234
624 0: 1
625
626 /[\p{Nd}+-]+/8DM
627 Memory allocation (code space): 48
628 ------------------------------------------------------------------
629 0 44 Bra 0
630 3 [+\-\p{Nd}]+
631 44 44 Ket
632 47 End
633 ------------------------------------------------------------------
634 Capturing subpattern count = 0
635 Partial matching not supported
636 Options: utf8
637 No first char
638 No need char
639 1234
640 0: 1234
641 12-34
642 0: 12-34
643 12+\x{661}-34
644 0: 12+\x{661}-34
645 ** Failers
646 No match
647 abcd
648 No match
649
650 /[\P{Nd}]+/8
651 abcd
652 0: abcd
653 ** Failers
654 0: ** Failers
655 1234
656 No match
657
658 /\D+/8
659 11111111111111111111111111111111111111111111111111111111111111111111111
660 No match
661 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
662 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
663
664 /\P{Nd}+/8
665 11111111111111111111111111111111111111111111111111111111111111111111111
666 No match
667 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
668 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
669
670 /[\D]+/8
671 11111111111111111111111111111111111111111111111111111111111111111111111
672 No match
673 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
674 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
675
676 /[\P{Nd}]+/8
677 11111111111111111111111111111111111111111111111111111111111111111111111
678 No match
679 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
680 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
681
682 /[\D\P{Nd}]+/8
683 11111111111111111111111111111111111111111111111111111111111111111111111
684 No match
685 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
686 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
687
688 /\pL/8
689 a
690 0: a
691 A
692 0: A
693
694 /\pL/8i
695 a
696 0: a
697 A
698 0: A
699
700 /\p{Lu}/8
701 A
702 0: A
703 aZ
704 0: Z
705 ** Failers
706 0: F
707 abc
708 No match
709
710 /\p{Lu}/8i
711 A
712 0: A
713 aZ
714 0: Z
715 ** Failers
716 0: F
717 abc
718 No match
719
720 /\p{Ll}/8
721 a
722 0: a
723 Az
724 0: z
725 ** Failers
726 0: a
727 ABC
728 No match
729
730 /\p{Ll}/8i
731 a
732 0: a
733 Az
734 0: z
735 ** Failers
736 0: a
737 ABC
738 No match
739
740 /^\x{c0}$/8i
741 \x{c0}
742 0: \x{c0}
743 \x{e0}
744 0: \x{e0}
745
746 /^\x{e0}$/8i
747 \x{c0}
748 0: \x{c0}
749 \x{e0}
750 0: \x{e0}
751
752 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8
753 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
754 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0}
755 ** Failers
756 No match
757 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
758 No match
759 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
760 No match
761 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
762 No match
763 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
764 No match
765 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
766 No match
767
768 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8i
769 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
770 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0}
771 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
772 0: a\x{391}\x{10427}\x{ff3a}\x{1fb0}
773 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
774 0: A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
775 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
776 0: A\x{391}\x{1044f}\x{ff3a}\x{1fb0}
777 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
778 0: A\x{391}\x{10427}\x{ff5a}\x{1fb0}
779 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
780 0: A\x{391}\x{10427}\x{ff3a}\x{1fb8}
781
782 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iD
783 ------------------------------------------------------------------
784 0 21 Bra 0
785 3 NC A\x{391}\x{10427}\x{ff3a}\x{1fb0}
786 21 21 Ket
787 24 End
788 ------------------------------------------------------------------
789 Capturing subpattern count = 0
790 Options: caseless utf8
791 First char = 'A' (caseless)
792 No need char
793
794 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8D
795 ------------------------------------------------------------------
796 0 21 Bra 0
797 3 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
798 21 21 Ket
799 24 End
800 ------------------------------------------------------------------
801 Capturing subpattern count = 0
802 Options: utf8
803 First char = 'A'
804 Need char = 176
805
806 /AB\x{1fb0}/8D
807 ------------------------------------------------------------------
808 0 11 Bra 0
809 3 AB\x{1fb0}
810 11 11 Ket
811 14 End
812 ------------------------------------------------------------------
813 Capturing subpattern count = 0
814 Options: utf8
815 First char = 'A'
816 Need char = 176
817
818 /AB\x{1fb0}/8Di
819 ------------------------------------------------------------------
820 0 11 Bra 0
821 3 NC AB\x{1fb0}
822 11 11 Ket
823 14 End
824 ------------------------------------------------------------------
825 Capturing subpattern count = 0
826 Options: caseless utf8
827 First char = 'A' (caseless)
828 Need char = 'B' (caseless)
829
830 /\x{391}+/8i
831 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
832 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
833
834 /\x{391}{3,5}(.)/8i
835 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
836 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
837 1: X
838
839 /\x{391}{3,5}?(.)/8i
840 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
841 0: \x{391}\x{3b1}\x{3b1}\x{3b1}
842 1: \x{3b1}
843
844 /[\x{391}\x{ff3a}]/8i
845 \x{391}
846 0: \x{391}
847 \x{ff3a}
848 0: \x{ff3a}
849 \x{3b1}
850 0: \x{3b1}
851 \x{ff5a}
852 0: \x{ff5a}
853
854 /[\x{c0}\x{391}]/8i
855 \x{c0}
856 0: \x{c0}
857 \x{e0}
858 0: \x{e0}
859
860 /[\x{105}-\x{109}]/8iD
861 ------------------------------------------------------------------
862 0 13 Bra 0
863 3 [\x{104}-\x{109}]
864 13 13 Ket
865 16 End
866 ------------------------------------------------------------------
867 Capturing subpattern count = 0
868 Options: caseless utf8
869 No first char
870 No need char
871 \x{104}
872 0: \x{104}
873 \x{105}
874 0: \x{105}
875 \x{109}
876 0: \x{109}
877 ** Failers
878 No match
879 \x{100}
880 No match
881 \x{10a}
882 No match
883
884 /[z-\x{100}]/8iD
885 ------------------------------------------------------------------
886 0 20 Bra 0
887 3 [Z\x{39c}\x{178}z-\x{101}]
888 20 20 Ket
889 23 End
890 ------------------------------------------------------------------
891 Capturing subpattern count = 0
892 Options: caseless utf8
893 No first char
894 No need char
895 Z
896 0: Z
897 z
898 0: z
899 \x{39c}
900 0: \x{39c}
901 \x{178}
902 0: \x{178}
903 |
904 0: |
905 \x{80}
906 0: \x{80}
907 \x{ff}
908 0: \x{ff}
909 \x{100}
910 0: \x{100}
911 \x{101}
912 0: \x{101}
913 ** Failers
914 No match
915 \x{102}
916 No match
917 Y
918 No match
919 y
920 No match
921
922 /[z-\x{100}]/8Di
923 ------------------------------------------------------------------
924 0 20 Bra 0
925 3 [Z\x{39c}\x{178}z-\x{101}]
926 20 20 Ket
927 23 End
928 ------------------------------------------------------------------
929 Capturing subpattern count = 0
930 Options: caseless utf8
931 No first char
932 No need char
933
934 /^\X/8
935 A
936 0: A
937 A\x{300}BC
938 0: A\x{300}
939 A\x{300}\x{301}\x{302}BC
940 0: A\x{300}\x{301}\x{302}
941 *** Failers
942 0: *
943 \x{300}
944 No match
945
946 /^[\X]/8
947 X123
948 0: X
949 *** Failers
950 No match
951 AXYZ
952 No match
953
954 /^(\X*)C/8
955 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
956 0: A\x{300}\x{301}\x{302}BC
957 1: A\x{300}\x{301}\x{302}B
958 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
959 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
960 1: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
961
962 /^(\X*?)C/8
963 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
964 0: A\x{300}\x{301}\x{302}BC
965 1: A\x{300}\x{301}\x{302}B
966 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
967 0: A\x{300}\x{301}\x{302}BC
968 1: A\x{300}\x{301}\x{302}B
969
970 /^(\X*)(.)/8
971 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
972 0: A\x{300}\x{301}\x{302}BCA
973 1: A\x{300}\x{301}\x{302}BC
974 2: A
975 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
976 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
977 1: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
978 2: C
979
980 /^(\X*?)(.)/8
981 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
982 0: A
983 1:
984 2: A
985 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
986 0: A
987 1:
988 2: A
989
990 /^\X(.)/8
991 *** Failers
992 0: **
993 1: *
994 A\x{300}\x{301}\x{302}
995 No match
996
997 /^\X{2,3}(.)/8
998 A\x{300}\x{301}B\x{300}X
999 0: A\x{300}\x{301}B\x{300}X
1000 1: X
1001 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
1002 0: A\x{300}\x{301}B\x{300}C
1003 1: C
1004 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
1005 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
1006 1: X
1007 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
1008 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}D
1009 1: D
1010
1011 /^\X{2,3}?(.)/8
1012 A\x{300}\x{301}B\x{300}X
1013 0: A\x{300}\x{301}B\x{300}X
1014 1: X
1015 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
1016 0: A\x{300}\x{301}B\x{300}C
1017 1: C
1018 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
1019 0: A\x{300}\x{301}B\x{300}C
1020 1: C
1021 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
1022 0: A\x{300}\x{301}B\x{300}C
1023 1: C
1024
1025 /^\p{Han}+/8
1026 \x{2e81}\x{3007}\x{2f804}\x{31a0}
1027 0: \x{2e81}\x{3007}\x{2f804}
1028 ** Failers
1029 No match
1030 \x{2e7f}
1031 No match
1032
1033 /^\P{Katakana}+/8
1034 \x{3105}
1035 0: \x{3105}
1036 ** Failers
1037 0: ** Failers
1038 \x{30ff}
1039 No match
1040
1041 /^[\p{Arabic}]/8
1042 \x{06e9}
1043 0: \x{6e9}
1044 \x{060b}
1045 0: \x{60b}
1046 ** Failers
1047 No match
1048 X\x{06e9}
1049 No match
1050
1051 /^[\P{Yi}]/8
1052 \x{2f800}
1053 0: \x{2f800}
1054 ** Failers
1055 0: *
1056 \x{a014}
1057 No match
1058 \x{a4c6}
1059 No match
1060
1061 /^\p{Any}X/8
1062 AXYZ
1063 0: AX
1064 \x{1234}XYZ
1065 0: \x{1234}X
1066 ** Failers
1067 No match
1068 X
1069 No match
1070
1071 /^\P{Any}X/8
1072 ** Failers
1073 No match
1074 AX
1075 No match
1076
1077 /^\p{Any}?X/8
1078 XYZ
1079 0: X
1080 AXYZ
1081 0: AX
1082 \x{1234}XYZ
1083 0: \x{1234}X
1084 ** Failers
1085 No match
1086 ABXYZ
1087 No match
1088
1089 /^\P{Any}?X/8
1090 XYZ
1091 0: X
1092 ** Failers
1093 No match
1094 AXYZ
1095 No match
1096 \x{1234}XYZ
1097 No match
1098 ABXYZ
1099 No match
1100
1101 /^\p{Any}+X/8
1102 AXYZ
1103 0: AX
1104 \x{1234}XYZ
1105 0: \x{1234}X
1106 A\x{1234}XYZ
1107 0: A\x{1234}X
1108 ** Failers
1109 No match
1110 XYZ
1111 No match
1112
1113 /^\P{Any}+X/8
1114 ** Failers
1115 No match
1116 AXYZ
1117 No match
1118 \x{1234}XYZ
1119 No match
1120 A\x{1234}XYZ
1121 No match
1122 XYZ
1123 No match
1124
1125 /^\p{Any}*X/8
1126 XYZ
1127 0: X
1128 AXYZ
1129 0: AX
1130 \x{1234}XYZ
1131 0: \x{1234}X
1132 A\x{1234}XYZ
1133 0: A\x{1234}X
1134 ** Failers
1135 No match
1136
1137 /^\P{Any}*X/8
1138 XYZ
1139 0: X
1140 ** Failers
1141 No match
1142 AXYZ
1143 No match
1144 \x{1234}XYZ
1145 No match
1146 A\x{1234}XYZ
1147 No match
1148
1149 /^[\p{Any}]X/8
1150 AXYZ
1151 0: AX
1152 \x{1234}XYZ
1153 0: \x{1234}X
1154 ** Failers
1155 No match
1156 X
1157 No match
1158
1159 /^[\P{Any}]X/8
1160 ** Failers
1161 No match
1162 AX
1163 No match
1164
1165 /^[\p{Any}]?X/8
1166 XYZ
1167 0: X
1168 AXYZ
1169 0: AX
1170 \x{1234}XYZ
1171 0: \x{1234}X
1172 ** Failers
1173 No match
1174 ABXYZ
1175 No match
1176
1177 /^[\P{Any}]?X/8
1178 XYZ
1179 0: X
1180 ** Failers
1181 No match
1182 AXYZ
1183 No match
1184 \x{1234}XYZ
1185 No match
1186 ABXYZ
1187 No match
1188
1189 /^[\p{Any}]+X/8
1190 AXYZ
1191 0: AX
1192 \x{1234}XYZ
1193 0: \x{1234}X
1194 A\x{1234}XYZ
1195 0: A\x{1234}X
1196 ** Failers
1197 No match
1198 XYZ
1199 No match
1200
1201 /^[\P{Any}]+X/8
1202 ** Failers
1203 No match
1204 AXYZ
1205 No match
1206 \x{1234}XYZ
1207 No match
1208 A\x{1234}XYZ
1209 No match
1210 XYZ
1211 No match
1212
1213 /^[\p{Any}]*X/8
1214 XYZ
1215 0: X
1216 AXYZ
1217 0: AX
1218 \x{1234}XYZ
1219 0: \x{1234}X
1220 A\x{1234}XYZ
1221 0: A\x{1234}X
1222 ** Failers
1223 No match
1224
1225 /^[\P{Any}]*X/8
1226 XYZ
1227 0: X
1228 ** Failers
1229 No match
1230 AXYZ
1231 No match
1232 \x{1234}XYZ
1233 No match
1234 A\x{1234}XYZ
1235 No match
1236
1237 /^\p{Any}{3,5}?/8
1238 abcdefgh
1239 0: abc
1240 \x{1234}\n\r\x{3456}xyz
1241 0: \x{1234}\x{0a}\x{0d}
1242
1243 /^\p{Any}{3,5}/8
1244 abcdefgh
1245 0: abcde
1246 \x{1234}\n\r\x{3456}xyz
1247 0: \x{1234}\x{0a}\x{0d}\x{3456}x
1248
1249 /^\P{Any}{3,5}?/8
1250 ** Failers
1251 No match
1252 abcdefgh
1253 No match
1254 \x{1234}\n\r\x{3456}xyz
1255 No match
1256
1257 /^\p{L&}X/8
1258 AXY
1259 0: AX
1260 aXY
1261 0: aX
1262 \x{1c5}XY
1263 0: \x{1c5}X
1264 ** Failers
1265 No match
1266 \x{1bb}XY
1267 No match
1268 \x{2b0}XY
1269 No match
1270 !XY
1271 No match
1272
1273 /^[\p{L&}]X/8
1274 AXY
1275 0: AX
1276 aXY
1277 0: aX
1278 \x{1c5}XY
1279 0: \x{1c5}X
1280 ** Failers
1281 No match
1282 \x{1bb}XY
1283 No match
1284 \x{2b0}XY
1285 No match
1286 !XY
1287 No match
1288
1289 /^\p{L&}+X/8
1290 AXY
1291 0: AX
1292 aXY
1293 0: aX
1294 AbcdeXyz
1295 0: AbcdeX
1296 \x{1c5}AbXY
1297 0: \x{1c5}AbX
1298 abcDEXypqreXlmn
1299 0: abcDEXypqreX
1300 ** Failers
1301 No match
1302 \x{1bb}XY
1303 No match
1304 \x{2b0}XY
1305 No match
1306 !XY
1307 No match
1308
1309 /^[\p{L&}]+X/8
1310 AXY
1311 0: AX
1312 aXY
1313 0: aX
1314 AbcdeXyz
1315 0: AbcdeX
1316 \x{1c5}AbXY
1317 0: \x{1c5}AbX
1318 abcDEXypqreXlmn
1319 0: abcDEXypqreX
1320 ** Failers
1321 No match
1322 \x{1bb}XY
1323 No match
1324 \x{2b0}XY
1325 No match
1326 !XY
1327 No match
1328
1329 /^\p{L&}+?X/8
1330 AXY
1331 0: AX
1332 aXY
1333 0: aX
1334 AbcdeXyz
1335 0: AbcdeX
1336 \x{1c5}AbXY
1337 0: \x{1c5}AbX
1338 abcDEXypqreXlmn
1339 0: abcDEX
1340 ** Failers
1341 No match
1342 \x{1bb}XY
1343 No match
1344 \x{2b0}XY
1345 No match
1346 !XY
1347 No match
1348
1349 /^[\p{L&}]+?X/8
1350 AXY
1351 0: AX
1352 aXY
1353 0: aX
1354 AbcdeXyz
1355 0: AbcdeX
1356 \x{1c5}AbXY
1357 0: \x{1c5}AbX
1358 abcDEXypqreXlmn
1359 0: abcDEX
1360 ** Failers
1361 No match
1362 \x{1bb}XY
1363 No match
1364 \x{2b0}XY
1365 No match
1366 !XY
1367 No match
1368
1369 /^\P{L&}X/8
1370 !XY
1371 0: !X
1372 \x{1bb}XY
1373 0: \x{1bb}X
1374 \x{2b0}XY
1375 0: \x{2b0}X
1376 ** Failers
1377 No match
1378 \x{1c5}XY
1379 No match
1380 AXY
1381 No match
1382
1383 /^[\P{L&}]X/8
1384 !XY
1385 0: !X
1386 \x{1bb}XY
1387 0: \x{1bb}X
1388 \x{2b0}XY
1389 0: \x{2b0}X
1390 ** Failers
1391 No match
1392 \x{1c5}XY
1393 No match
1394 AXY
1395 No match
1396
1397 /^(\p{Z}[^\p{C}\p{Z}]+)*$/
1398 \xa0!
1399 0: \xa0!
1400 1: \xa0!
1401
1402 /^[\pL](abc)(?1)/
1403 AabcabcYZ
1404 0: Aabcabc
1405 1: abc
1406
1407 /([\pL]=(abc))*X/
1408 L=abcX
1409 0: L=abcX
1410 1: L=abc
1411 2: abc
1412
1413 /The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
1414 will match it only with UCP support, because without that it has no notion
1415 of case for anything other than the ASCII letters. /
1416
1417 /((?i)[\x{c0}])/8
1418 \x{c0}
1419 0: \x{c0}
1420 1: \x{c0}
1421 \x{e0}
1422 0: \x{e0}
1423 1: \x{e0}
1424
1425 /(?i:[\x{c0}])/8
1426 \x{c0}
1427 0: \x{c0}
1428 \x{e0}
1429 0: \x{e0}
1430
1431 /^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
1432 \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
1433 0: \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
1434
1435 /The next two are special cases where the lengths of the different cases of the
1436 same character differ. The first went wrong with heap fram storage; the 2nd
1437 was broken in all cases./
1438
1439 /^\x{023a}+?(\x{0130}+)/8i
1440 \x{023a}\x{2c65}\x{0130}
1441 0: \x{23a}\x{2c65}\x{130}
1442 1: \x{130}
1443
1444 /^\x{023a}+([^X])/8i
1445 \x{023a}\x{2c65}X
1446 0: \x{23a}\x{2c65}
1447 1: \x{2c65}
1448
1449 / End of testinput6 /

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5