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

Contents of /code/trunk/testdata/testoutput6

Parent Directory Parent Directory | Revision Log Revision Log


Revision 384 - (show annotations) (download)
Sun Mar 8 16:27:43 2009 UTC (5 years, 5 months ago) by ph10
File size: 26598 byte(s)
Fix Unicode property support in character classes for chars > 127 in non-UTF-8 
mode.

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

Properties

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12