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

Contents of /code/trunk/testdata/testoutput6

Parent Directory Parent Directory | Revision Log Revision Log


Revision 426 - (show annotations)
Wed Aug 26 15:38:32 2009 UTC (10 years, 1 month ago) by ph10
File size: 26567 byte(s)
Remove restrictions on pcre_exec() partial matching.
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{e000}
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}]/DZ
552 ------------------------------------------------------------------
553 Bra
554 [\p{L}]
555 Ket
556 End
557 ------------------------------------------------------------------
558 Capturing subpattern count = 0
559 No options
560 No first char
561 No need char
562
563 /[\p{^L}]/DZ
564 ------------------------------------------------------------------
565 Bra
566 [\P{L}]
567 Ket
568 End
569 ------------------------------------------------------------------
570 Capturing subpattern count = 0
571 No options
572 No first char
573 No need char
574
575 /[\P{L}]/DZ
576 ------------------------------------------------------------------
577 Bra
578 [\P{L}]
579 Ket
580 End
581 ------------------------------------------------------------------
582 Capturing subpattern count = 0
583 No options
584 No first char
585 No need char
586
587 /[\P{^L}]/DZ
588 ------------------------------------------------------------------
589 Bra
590 [\p{L}]
591 Ket
592 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}]/8DZ
600 ------------------------------------------------------------------
601 Bra
602 [a-c\p{L}\x{660}]
603 Ket
604 End
605 ------------------------------------------------------------------
606 Capturing subpattern count = 0
607 Options: utf8
608 No first char
609 No need char
610
611 /[\p{Nd}]/8DZ
612 ------------------------------------------------------------------
613 Bra
614 [\p{Nd}]
615 Ket
616 End
617 ------------------------------------------------------------------
618 Capturing subpattern count = 0
619 Options: utf8
620 No first char
621 No need char
622 1234
623 0: 1
624
625 /[\p{Nd}+-]+/8DZ
626 ------------------------------------------------------------------
627 Bra
628 [+\-\p{Nd}]+
629 Ket
630 End
631 ------------------------------------------------------------------
632 Capturing subpattern count = 0
633 Options: utf8
634 No first char
635 No need char
636 1234
637 0: 1234
638 12-34
639 0: 12-34
640 12+\x{661}-34
641 0: 12+\x{661}-34
642 ** Failers
643 No match
644 abcd
645 No match
646
647 /[\P{Nd}]+/8
648 abcd
649 0: abcd
650 ** Failers
651 0: ** Failers
652 1234
653 No match
654
655 /\D+/8
656 11111111111111111111111111111111111111111111111111111111111111111111111
657 No match
658 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
659 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
660
661 /\P{Nd}+/8
662 11111111111111111111111111111111111111111111111111111111111111111111111
663 No match
664 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
665 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
666
667 /[\D]+/8
668 11111111111111111111111111111111111111111111111111111111111111111111111
669 No match
670 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
671 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
672
673 /[\P{Nd}]+/8
674 11111111111111111111111111111111111111111111111111111111111111111111111
675 No match
676 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
677 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
678
679 /[\D\P{Nd}]+/8
680 11111111111111111111111111111111111111111111111111111111111111111111111
681 No match
682 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
683 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
684
685 /\pL/8
686 a
687 0: a
688 A
689 0: A
690
691 /\pL/8i
692 a
693 0: a
694 A
695 0: A
696
697 /\p{Lu}/8
698 A
699 0: A
700 aZ
701 0: Z
702 ** Failers
703 0: F
704 abc
705 No match
706
707 /\p{Lu}/8i
708 A
709 0: A
710 aZ
711 0: Z
712 ** Failers
713 0: F
714 abc
715 No match
716
717 /\p{Ll}/8
718 a
719 0: a
720 Az
721 0: z
722 ** Failers
723 0: a
724 ABC
725 No match
726
727 /\p{Ll}/8i
728 a
729 0: a
730 Az
731 0: z
732 ** Failers
733 0: a
734 ABC
735 No match
736
737 /^\x{c0}$/8i
738 \x{c0}
739 0: \x{c0}
740 \x{e0}
741 0: \x{e0}
742
743 /^\x{e0}$/8i
744 \x{c0}
745 0: \x{c0}
746 \x{e0}
747 0: \x{e0}
748
749 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8
750 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
751 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0}
752 ** Failers
753 No match
754 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
755 No match
756 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
757 No match
758 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
759 No match
760 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
761 No match
762 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
763 No match
764
765 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8i
766 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
767 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0}
768 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
769 0: a\x{391}\x{10427}\x{ff3a}\x{1fb0}
770 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
771 0: A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
772 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
773 0: A\x{391}\x{1044f}\x{ff3a}\x{1fb0}
774 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
775 0: A\x{391}\x{10427}\x{ff5a}\x{1fb0}
776 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
777 0: A\x{391}\x{10427}\x{ff3a}\x{1fb8}
778
779 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iDZ
780 ------------------------------------------------------------------
781 Bra
782 NC A\x{391}\x{10427}\x{ff3a}\x{1fb0}
783 Ket
784 End
785 ------------------------------------------------------------------
786 Capturing subpattern count = 0
787 Options: caseless utf8
788 First char = 'A' (caseless)
789 No need char
790
791 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8DZ
792 ------------------------------------------------------------------
793 Bra
794 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
795 Ket
796 End
797 ------------------------------------------------------------------
798 Capturing subpattern count = 0
799 Options: utf8
800 First char = 'A'
801 Need char = 176
802
803 /AB\x{1fb0}/8DZ
804 ------------------------------------------------------------------
805 Bra
806 AB\x{1fb0}
807 Ket
808 End
809 ------------------------------------------------------------------
810 Capturing subpattern count = 0
811 Options: utf8
812 First char = 'A'
813 Need char = 176
814
815 /AB\x{1fb0}/8DZi
816 ------------------------------------------------------------------
817 Bra
818 NC AB\x{1fb0}
819 Ket
820 End
821 ------------------------------------------------------------------
822 Capturing subpattern count = 0
823 Options: caseless utf8
824 First char = 'A' (caseless)
825 Need char = 'B' (caseless)
826
827 /\x{391}+/8i
828 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
829 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
830
831 /\x{391}{3,5}(.)/8i
832 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
833 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
834 1: X
835
836 /\x{391}{3,5}?(.)/8i
837 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
838 0: \x{391}\x{3b1}\x{3b1}\x{3b1}
839 1: \x{3b1}
840
841 /[\x{391}\x{ff3a}]/8i
842 \x{391}
843 0: \x{391}
844 \x{ff3a}
845 0: \x{ff3a}
846 \x{3b1}
847 0: \x{3b1}
848 \x{ff5a}
849 0: \x{ff5a}
850
851 /[\x{c0}\x{391}]/8i
852 \x{c0}
853 0: \x{c0}
854 \x{e0}
855 0: \x{e0}
856
857 /[\x{105}-\x{109}]/8iDZ
858 ------------------------------------------------------------------
859 Bra
860 [\x{104}-\x{109}]
861 Ket
862 End
863 ------------------------------------------------------------------
864 Capturing subpattern count = 0
865 Options: caseless utf8
866 No first char
867 No need char
868 \x{104}
869 0: \x{104}
870 \x{105}
871 0: \x{105}
872 \x{109}
873 0: \x{109}
874 ** Failers
875 No match
876 \x{100}
877 No match
878 \x{10a}
879 No match
880
881 /[z-\x{100}]/8iDZ
882 ------------------------------------------------------------------
883 Bra
884 [Z\x{39c}\x{178}z-\x{101}]
885 Ket
886 End
887 ------------------------------------------------------------------
888 Capturing subpattern count = 0
889 Options: caseless utf8
890 No first char
891 No need char
892 Z
893 0: Z
894 z
895 0: z
896 \x{39c}
897 0: \x{39c}
898 \x{178}
899 0: \x{178}
900 |
901 0: |
902 \x{80}
903 0: \x{80}
904 \x{ff}
905 0: \x{ff}
906 \x{100}
907 0: \x{100}
908 \x{101}
909 0: \x{101}
910 ** Failers
911 No match
912 \x{102}
913 No match
914 Y
915 No match
916 y
917 No match
918
919 /[z-\x{100}]/8DZi
920 ------------------------------------------------------------------
921 Bra
922 [Z\x{39c}\x{178}z-\x{101}]
923 Ket
924 End
925 ------------------------------------------------------------------
926 Capturing subpattern count = 0
927 Options: caseless utf8
928 No first char
929 No need char
930
931 /^\X/8
932 A
933 0: A
934 A\x{300}BC
935 0: A\x{300}
936 A\x{300}\x{301}\x{302}BC
937 0: A\x{300}\x{301}\x{302}
938 *** Failers
939 0: *
940 \x{300}
941 No match
942
943 /^[\X]/8
944 X123
945 0: X
946 *** Failers
947 No match
948 AXYZ
949 No match
950
951 /^(\X*)C/8
952 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
953 0: A\x{300}\x{301}\x{302}BC
954 1: A\x{300}\x{301}\x{302}B
955 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
956 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
957 1: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
958
959 /^(\X*?)C/8
960 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
961 0: A\x{300}\x{301}\x{302}BC
962 1: A\x{300}\x{301}\x{302}B
963 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
964 0: A\x{300}\x{301}\x{302}BC
965 1: A\x{300}\x{301}\x{302}B
966
967 /^(\X*)(.)/8
968 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
969 0: A\x{300}\x{301}\x{302}BCA
970 1: A\x{300}\x{301}\x{302}BC
971 2: A
972 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
973 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
974 1: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
975 2: C
976
977 /^(\X*?)(.)/8
978 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
979 0: A
980 1:
981 2: A
982 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
983 0: A
984 1:
985 2: A
986
987 /^\X(.)/8
988 *** Failers
989 0: **
990 1: *
991 A\x{300}\x{301}\x{302}
992 No match
993
994 /^\X{2,3}(.)/8
995 A\x{300}\x{301}B\x{300}X
996 0: A\x{300}\x{301}B\x{300}X
997 1: X
998 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
999 0: A\x{300}\x{301}B\x{300}C
1000 1: C
1001 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
1002 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
1003 1: X
1004 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
1005 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}D
1006 1: D
1007
1008 /^\X{2,3}?(.)/8
1009 A\x{300}\x{301}B\x{300}X
1010 0: A\x{300}\x{301}B\x{300}X
1011 1: X
1012 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
1013 0: A\x{300}\x{301}B\x{300}C
1014 1: C
1015 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
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}DA\x{300}X
1019 0: A\x{300}\x{301}B\x{300}C
1020 1: C
1021
1022 /^\p{Han}+/8
1023 \x{2e81}\x{3007}\x{2f804}\x{31a0}
1024 0: \x{2e81}\x{3007}\x{2f804}
1025 ** Failers
1026 No match
1027 \x{2e7f}
1028 No match
1029
1030 /^\P{Katakana}+/8
1031 \x{3105}
1032 0: \x{3105}
1033 ** Failers
1034 0: ** Failers
1035 \x{30ff}
1036 No match
1037
1038 /^[\p{Arabic}]/8
1039 \x{06e9}
1040 0: \x{6e9}
1041 \x{060b}
1042 0: \x{60b}
1043 ** Failers
1044 No match
1045 X\x{06e9}
1046 No match
1047
1048 /^[\P{Yi}]/8
1049 \x{2f800}
1050 0: \x{2f800}
1051 ** Failers
1052 0: *
1053 \x{a014}
1054 No match
1055 \x{a4c6}
1056 No match
1057
1058 /^\p{Any}X/8
1059 AXYZ
1060 0: AX
1061 \x{1234}XYZ
1062 0: \x{1234}X
1063 ** Failers
1064 No match
1065 X
1066 No match
1067
1068 /^\P{Any}X/8
1069 ** Failers
1070 No match
1071 AX
1072 No match
1073
1074 /^\p{Any}?X/8
1075 XYZ
1076 0: X
1077 AXYZ
1078 0: AX
1079 \x{1234}XYZ
1080 0: \x{1234}X
1081 ** Failers
1082 No match
1083 ABXYZ
1084 No match
1085
1086 /^\P{Any}?X/8
1087 XYZ
1088 0: X
1089 ** Failers
1090 No match
1091 AXYZ
1092 No match
1093 \x{1234}XYZ
1094 No match
1095 ABXYZ
1096 No match
1097
1098 /^\p{Any}+X/8
1099 AXYZ
1100 0: AX
1101 \x{1234}XYZ
1102 0: \x{1234}X
1103 A\x{1234}XYZ
1104 0: A\x{1234}X
1105 ** Failers
1106 No match
1107 XYZ
1108 No match
1109
1110 /^\P{Any}+X/8
1111 ** Failers
1112 No match
1113 AXYZ
1114 No match
1115 \x{1234}XYZ
1116 No match
1117 A\x{1234}XYZ
1118 No match
1119 XYZ
1120 No match
1121
1122 /^\p{Any}*X/8
1123 XYZ
1124 0: X
1125 AXYZ
1126 0: AX
1127 \x{1234}XYZ
1128 0: \x{1234}X
1129 A\x{1234}XYZ
1130 0: A\x{1234}X
1131 ** Failers
1132 No match
1133
1134 /^\P{Any}*X/8
1135 XYZ
1136 0: X
1137 ** Failers
1138 No match
1139 AXYZ
1140 No match
1141 \x{1234}XYZ
1142 No match
1143 A\x{1234}XYZ
1144 No match
1145
1146 /^[\p{Any}]X/8
1147 AXYZ
1148 0: AX
1149 \x{1234}XYZ
1150 0: \x{1234}X
1151 ** Failers
1152 No match
1153 X
1154 No match
1155
1156 /^[\P{Any}]X/8
1157 ** Failers
1158 No match
1159 AX
1160 No match
1161
1162 /^[\p{Any}]?X/8
1163 XYZ
1164 0: X
1165 AXYZ
1166 0: AX
1167 \x{1234}XYZ
1168 0: \x{1234}X
1169 ** Failers
1170 No match
1171 ABXYZ
1172 No match
1173
1174 /^[\P{Any}]?X/8
1175 XYZ
1176 0: X
1177 ** Failers
1178 No match
1179 AXYZ
1180 No match
1181 \x{1234}XYZ
1182 No match
1183 ABXYZ
1184 No match
1185
1186 /^[\p{Any}]+X/8
1187 AXYZ
1188 0: AX
1189 \x{1234}XYZ
1190 0: \x{1234}X
1191 A\x{1234}XYZ
1192 0: A\x{1234}X
1193 ** Failers
1194 No match
1195 XYZ
1196 No match
1197
1198 /^[\P{Any}]+X/8
1199 ** Failers
1200 No match
1201 AXYZ
1202 No match
1203 \x{1234}XYZ
1204 No match
1205 A\x{1234}XYZ
1206 No match
1207 XYZ
1208 No match
1209
1210 /^[\p{Any}]*X/8
1211 XYZ
1212 0: X
1213 AXYZ
1214 0: AX
1215 \x{1234}XYZ
1216 0: \x{1234}X
1217 A\x{1234}XYZ
1218 0: A\x{1234}X
1219 ** Failers
1220 No match
1221
1222 /^[\P{Any}]*X/8
1223 XYZ
1224 0: X
1225 ** Failers
1226 No match
1227 AXYZ
1228 No match
1229 \x{1234}XYZ
1230 No match
1231 A\x{1234}XYZ
1232 No match
1233
1234 /^\p{Any}{3,5}?/8
1235 abcdefgh
1236 0: abc
1237 \x{1234}\n\r\x{3456}xyz
1238 0: \x{1234}\x{0a}\x{0d}
1239
1240 /^\p{Any}{3,5}/8
1241 abcdefgh
1242 0: abcde
1243 \x{1234}\n\r\x{3456}xyz
1244 0: \x{1234}\x{0a}\x{0d}\x{3456}x
1245
1246 /^\P{Any}{3,5}?/8
1247 ** Failers
1248 No match
1249 abcdefgh
1250 No match
1251 \x{1234}\n\r\x{3456}xyz
1252 No match
1253
1254 /^\p{L&}X/8
1255 AXY
1256 0: AX
1257 aXY
1258 0: aX
1259 \x{1c5}XY
1260 0: \x{1c5}X
1261 ** Failers
1262 No match
1263 \x{1bb}XY
1264 No match
1265 \x{2b0}XY
1266 No match
1267 !XY
1268 No match
1269
1270 /^[\p{L&}]X/8
1271 AXY
1272 0: AX
1273 aXY
1274 0: aX
1275 \x{1c5}XY
1276 0: \x{1c5}X
1277 ** Failers
1278 No match
1279 \x{1bb}XY
1280 No match
1281 \x{2b0}XY
1282 No match
1283 !XY
1284 No match
1285
1286 /^\p{L&}+X/8
1287 AXY
1288 0: AX
1289 aXY
1290 0: aX
1291 AbcdeXyz
1292 0: AbcdeX
1293 \x{1c5}AbXY
1294 0: \x{1c5}AbX
1295 abcDEXypqreXlmn
1296 0: abcDEXypqreX
1297 ** Failers
1298 No match
1299 \x{1bb}XY
1300 No match
1301 \x{2b0}XY
1302 No match
1303 !XY
1304 No match
1305
1306 /^[\p{L&}]+X/8
1307 AXY
1308 0: AX
1309 aXY
1310 0: aX
1311 AbcdeXyz
1312 0: AbcdeX
1313 \x{1c5}AbXY
1314 0: \x{1c5}AbX
1315 abcDEXypqreXlmn
1316 0: abcDEXypqreX
1317 ** Failers
1318 No match
1319 \x{1bb}XY
1320 No match
1321 \x{2b0}XY
1322 No match
1323 !XY
1324 No match
1325
1326 /^\p{L&}+?X/8
1327 AXY
1328 0: AX
1329 aXY
1330 0: aX
1331 AbcdeXyz
1332 0: AbcdeX
1333 \x{1c5}AbXY
1334 0: \x{1c5}AbX
1335 abcDEXypqreXlmn
1336 0: abcDEX
1337 ** Failers
1338 No match
1339 \x{1bb}XY
1340 No match
1341 \x{2b0}XY
1342 No match
1343 !XY
1344 No match
1345
1346 /^[\p{L&}]+?X/8
1347 AXY
1348 0: AX
1349 aXY
1350 0: aX
1351 AbcdeXyz
1352 0: AbcdeX
1353 \x{1c5}AbXY
1354 0: \x{1c5}AbX
1355 abcDEXypqreXlmn
1356 0: abcDEX
1357 ** Failers
1358 No match
1359 \x{1bb}XY
1360 No match
1361 \x{2b0}XY
1362 No match
1363 !XY
1364 No match
1365
1366 /^\P{L&}X/8
1367 !XY
1368 0: !X
1369 \x{1bb}XY
1370 0: \x{1bb}X
1371 \x{2b0}XY
1372 0: \x{2b0}X
1373 ** Failers
1374 No match
1375 \x{1c5}XY
1376 No match
1377 AXY
1378 No match
1379
1380 /^[\P{L&}]X/8
1381 !XY
1382 0: !X
1383 \x{1bb}XY
1384 0: \x{1bb}X
1385 \x{2b0}XY
1386 0: \x{2b0}X
1387 ** Failers
1388 No match
1389 \x{1c5}XY
1390 No match
1391 AXY
1392 No match
1393
1394 /^(\p{Z}[^\p{C}\p{Z}]+)*$/
1395 \xa0!
1396 0: \xa0!
1397 1: \xa0!
1398
1399 /^[\pL](abc)(?1)/
1400 AabcabcYZ
1401 0: Aabcabc
1402 1: abc
1403
1404 /([\pL]=(abc))*X/
1405 L=abcX
1406 0: L=abcX
1407 1: L=abc
1408 2: abc
1409
1410 /The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
1411 will match it only with UCP support, because without that it has no notion
1412 of case for anything other than the ASCII letters. /
1413
1414 /((?i)[\x{c0}])/8
1415 \x{c0}
1416 0: \x{c0}
1417 1: \x{c0}
1418 \x{e0}
1419 0: \x{e0}
1420 1: \x{e0}
1421
1422 /(?i:[\x{c0}])/8
1423 \x{c0}
1424 0: \x{c0}
1425 \x{e0}
1426 0: \x{e0}
1427
1428 /^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
1429 \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
1430 0: \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
1431
1432 /The next two are special cases where the lengths of the different cases of the
1433 same character differ. The first went wrong with heap frame storage; the 2nd
1434 was broken in all cases./
1435
1436 /^\x{023a}+?(\x{0130}+)/8i
1437 \x{023a}\x{2c65}\x{0130}
1438 0: \x{23a}\x{2c65}\x{130}
1439 1: \x{130}
1440
1441 /^\x{023a}+([^X])/8i
1442 \x{023a}\x{2c65}X
1443 0: \x{23a}\x{2c65}
1444 1: \x{2c65}
1445
1446 /Check property support in non-UTF-8 mode/
1447
1448 /\p{L}{4}/
1449 123abcdefg
1450 0: abcd
1451 123abc\xc4\xc5zz
1452 0: abc\xc4
1453
1454 /\X{1,3}\d/
1455 \x8aBCD
1456 No match
1457
1458 /\X?\d/
1459 \x8aBCD
1460 No match
1461
1462 /\P{L}?\d/
1463 \x8aBCD
1464 No match
1465
1466 /[\PPP\x8a]{1,}\x80/
1467 A\x80
1468 0: A\x80
1469
1470 /(?:[\PPa*]*){8,}/
1471
1472 /[\P{Any}]/BZ
1473 ------------------------------------------------------------------
1474 Bra
1475 [\P{Any}]
1476 Ket
1477 End
1478 ------------------------------------------------------------------
1479
1480 /[\P{Any}\E]/BZ
1481 ------------------------------------------------------------------
1482 Bra
1483 [\P{Any}]
1484 Ket
1485 End
1486 ------------------------------------------------------------------
1487
1488 /(\P{Yi}+\277)/
1489
1490 /(\P{Yi}+\277)?/
1491
1492 /(?<=\P{Yi}{3}A)X/
1493
1494 /\p{Yi}+(\P{Yi}+)(?1)/
1495
1496 /(\P{Yi}{2}\277)?/
1497
1498 /[\P{Yi}A]/
1499
1500 /[\P{Yi}\P{Yi}\P{Yi}A]/
1501
1502 /[^\P{Yi}A]/
1503
1504 /[^\P{Yi}\P{Yi}\P{Yi}A]/
1505
1506 /(\P{Yi}*\277)*/
1507
1508 /(\P{Yi}*?\277)*/
1509
1510 /(\p{Yi}*+\277)*/
1511
1512 /(\P{Yi}?\277)*/
1513
1514 /(\P{Yi}??\277)*/
1515
1516 /(\p{Yi}?+\277)*/
1517
1518 /(\P{Yi}{0,3}\277)*/
1519
1520 /(\P{Yi}{0,3}?\277)*/
1521
1522 /(\p{Yi}{0,3}+\277)*/
1523
1524 /^[\p{Arabic}]/8
1525 \x{60e}
1526 0: \x{60e}
1527 \x{656}
1528 0: \x{656}
1529 \x{657}
1530 0: \x{657}
1531 \x{658}
1532 0: \x{658}
1533 \x{659}
1534 0: \x{659}
1535 \x{65a}
1536 0: \x{65a}
1537 \x{65b}
1538 0: \x{65b}
1539 \x{65c}
1540 0: \x{65c}
1541 \x{65d}
1542 0: \x{65d}
1543 \x{65e}
1544 0: \x{65e}
1545 \x{66a}
1546 0: \x{66a}
1547 \x{6e9}
1548 0: \x{6e9}
1549 \x{6ef}
1550 0: \x{6ef}
1551 \x{6fa}
1552 0: \x{6fa}
1553 ** Failers
1554 No match
1555 \x{600}
1556 No match
1557 \x{650}
1558 No match
1559 \x{651}
1560 No match
1561 \x{652}
1562 No match
1563 \x{653}
1564 No match
1565 \x{654}
1566 No match
1567 \x{655}
1568 No match
1569 \x{65f}
1570 No match
1571
1572 /^\p{Cyrillic}/8
1573 \x{1d2b}
1574 0: \x{1d2b}
1575
1576 /^\p{Common}/8
1577 \x{589}
1578 0: \x{589}
1579 \x{60c}
1580 0: \x{60c}
1581 \x{61f}
1582 0: \x{61f}
1583 \x{964}
1584 0: \x{964}
1585 \x{965}
1586 0: \x{965}
1587 \x{970}
1588 0: \x{970}
1589
1590 /^\p{Inherited}/8
1591 \x{64b}
1592 0: \x{64b}
1593 \x{654}
1594 0: \x{654}
1595 \x{655}
1596 0: \x{655}
1597 \x{200c}
1598 0: \x{200c}
1599 ** Failers
1600 No match
1601 \x{64a}
1602 No match
1603 \x{656}
1604 No match
1605
1606 /^\p{Shavian}/8
1607 \x{10450}
1608 0: \x{10450}
1609 \x{1047f}
1610 0: \x{1047f}
1611
1612 /^\p{Deseret}/8
1613 \x{10400}
1614 0: \x{10400}
1615 \x{1044f}
1616 0: \x{1044f}
1617
1618 /^\p{Osmanya}/8
1619 \x{10480}
1620 0: \x{10480}
1621 \x{1049d}
1622 0: \x{1049d}
1623 \x{104a0}
1624 0: \x{104a0}
1625 \x{104a9}
1626 0: \x{104a9}
1627 ** Failers
1628 No match
1629 \x{1049e}
1630 No match
1631 \x{1049f}
1632 No match
1633 \x{104aa}
1634 No match
1635
1636 /\p{Zl}{2,3}+/8BZ
1637 ------------------------------------------------------------------
1638 Bra
1639 prop Zl {2}
1640 prop Zl ?+
1641 Ket
1642 End
1643 ------------------------------------------------------------------
1644 \xe2\x80\xa8\xe2\x80\xa8
1645 0: \x{2028}\x{2028}
1646 \x{2028}\x{2028}\x{2028}
1647 0: \x{2028}\x{2028}\x{2028}
1648
1649 /\p{Zl}/8BZ
1650 ------------------------------------------------------------------
1651 Bra
1652 prop Zl
1653 Ket
1654 End
1655 ------------------------------------------------------------------
1656
1657 /\p{Lu}{3}+/8BZ
1658 ------------------------------------------------------------------
1659 Bra
1660 prop Lu {3}
1661 Ket
1662 End
1663 ------------------------------------------------------------------
1664
1665 /\pL{2}+/8BZ
1666 ------------------------------------------------------------------
1667 Bra
1668 prop L {2}
1669 Ket
1670 End
1671 ------------------------------------------------------------------
1672
1673 /\p{Cc}{2}+/8BZ
1674 ------------------------------------------------------------------
1675 Bra
1676 prop Cc {2}
1677 Ket
1678 End
1679 ------------------------------------------------------------------
1680
1681 /\x{c0}+\x{116}+/8i
1682 \x{c0}\x{e0}\x{116}\x{117}
1683 0: \x{c0}\x{e0}\x{116}\x{117}
1684
1685 /[\x{c0}\x{116}]+/8i
1686 \x{c0}\x{e0}\x{116}\x{117}
1687 0: \x{c0}\x{e0}\x{116}\x{117}
1688
1689 /\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
1690 \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}====
1691 0: \x{102a4}\x{aa52}\x{a91d}\x{1c46}\x{10283}\x{1092e}\x{1c6b}\x{a93b}\x{a8bf}\x{1ba0}\x{a50a}
1692
1693 /\x{a77d}\x{1d79}/8i
1694 \x{a77d}\x{1d79}
1695 0: \x{a77d}\x{1d79}
1696 \x{1d79}\x{a77d}
1697 0: \x{1d79}\x{a77d}
1698
1699 /\x{a77d}\x{1d79}/8
1700 \x{a77d}\x{1d79}
1701 0: \x{a77d}\x{1d79}
1702 ** Failers
1703 No match
1704 \x{1d79}\x{a77d}
1705 No match
1706
1707 /(A)\1/8i
1708 AA
1709 0: AA
1710 1: A
1711 Aa
1712 0: Aa
1713 1: A
1714 aa
1715 0: aa
1716 1: a
1717 aA
1718 0: aA
1719 1: a
1720
1721 /(\x{de})\1/8i
1722 \x{de}\x{de}
1723 0: \x{de}\x{de}
1724 1: \x{de}
1725 \x{de}\x{fe}
1726 0: \x{de}\x{fe}
1727 1: \x{de}
1728 \x{fe}\x{fe}
1729 0: \x{fe}\x{fe}
1730 1: \x{fe}
1731 \x{fe}\x{de}
1732 0: \x{fe}\x{de}
1733 1: \x{fe}
1734
1735 /(\x{10a})\1/8i
1736 \x{10a}\x{10a}
1737 0: \x{10a}\x{10a}
1738 1: \x{10a}
1739 \x{10a}\x{10b}
1740 0: \x{10a}\x{10b}
1741 1: \x{10a}
1742 \x{10b}\x{10b}
1743 0: \x{10b}\x{10b}
1744 1: \x{10b}
1745 \x{10b}\x{10a}
1746 0: \x{10b}\x{10a}
1747 1: \x{10b}
1748
1749 /The next two tests are for property support in non-UTF-8 mode/
1750
1751 /(?:\p{Lu}|\x20)+/
1752 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
1753 0: A P\xc2T\xc9 TODAY
1754
1755 /[\p{Lu}\x20]+/
1756 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
1757 0: A P\xc2T\xc9 TODAY
1758
1759 / End of testinput6 /

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5