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

Contents of /code/trunk/testdata/testoutput6

Parent Directory Parent Directory | Revision Log Revision Log


Revision 448 - (show annotations)
Tue Sep 15 19:11:48 2009 UTC (11 years, 2 months ago) by ph10
File size: 17901 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 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{Ll}/8
102 a
103 0: a
104 ** Failers
105 No match
106 Z
107 No match
108 \x{e000}
109 No match
110
111 /^\p{Lm}/8
112 \x{2b0}
113 0: \x{2b0}
114 ** Failers
115 No match
116 a
117 No match
118
119 /^\p{Lo}/8
120 \x{1bb}
121 0: \x{1bb}
122 \x{3400}
123 0: \x{3400}
124 \x{3401}
125 0: \x{3401}
126 \x{4d00}
127 0: \x{4d00}
128 \x{4db4}
129 0: \x{4db4}
130 \x{4db5}
131 0: \x{4db5}
132 ** Failers
133 No match
134 a
135 No match
136 \x{2b0}
137 No match
138 \x{4db6}
139 No match
140
141 /^\p{Lt}/8
142 \x{1c5}
143 0: \x{1c5}
144 ** Failers
145 No match
146 a
147 No match
148 \x{2b0}
149 No match
150
151 /^\p{Lu}/8
152 A
153 0: A
154 ** Failers
155 No match
156 \x{2b0}
157 No match
158
159 /^\p{Mc}/8
160 \x{903}
161 0: \x{903}
162 ** Failers
163 No match
164 X
165 No match
166 \x{300}
167 No match
168
169 /^\p{Me}/8
170 \x{488}
171 0: \x{488}
172 ** Failers
173 No match
174 X
175 No match
176 \x{903}
177 No match
178 \x{300}
179 No match
180
181 /^\p{Mn}/8
182 \x{300}
183 0: \x{300}
184 ** Failers
185 No match
186 X
187 No match
188 \x{903}
189 No match
190
191 /^\p{Nd}+/8
192 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}\x{66a}
193 0: 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}
194 \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}\x{6fa}
195 0: \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}
196 \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}\x{970}
197 0: \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}
198 ** Failers
199 No match
200 X
201 No match
202
203 /^\p{Nl}/8
204 \x{16ee}
205 0: \x{16ee}
206 ** Failers
207 No match
208 X
209 No match
210 \x{966}
211 No match
212
213 /^\p{No}/8
214 \x{b2}
215 0: \x{b2}
216 \x{b3}
217 0: \x{b3}
218 ** Failers
219 No match
220 X
221 No match
222 \x{16ee}
223 No match
224
225 /^\p{Pc}/8
226 \x5f
227 0: _
228 \x{203f}
229 0: \x{203f}
230 ** Failers
231 No match
232 X
233 No match
234 -
235 No match
236 \x{58a}
237 No match
238
239 /^\p{Pd}/8
240 -
241 0: -
242 \x{58a}
243 0: \x{58a}
244 ** Failers
245 No match
246 X
247 No match
248 \x{203f}
249 No match
250
251 /^\p{Pe}/8
252 )
253 0: )
254 ]
255 0: ]
256 }
257 0: }
258 \x{f3b}
259 0: \x{f3b}
260 ** Failers
261 No match
262 X
263 No match
264 \x{203f}
265 No match
266 (
267 No match
268 [
269 No match
270 {
271 No match
272 \x{f3c}
273 No match
274
275 /^\p{Pf}/8
276 \x{bb}
277 0: \x{bb}
278 \x{2019}
279 0: \x{2019}
280 ** Failers
281 No match
282 X
283 No match
284 \x{203f}
285 No match
286
287 /^\p{Pi}/8
288 \x{ab}
289 0: \x{ab}
290 \x{2018}
291 0: \x{2018}
292 ** Failers
293 No match
294 X
295 No match
296 \x{203f}
297 No match
298
299 /^\p{Po}/8
300 !
301 0: !
302 \x{37e}
303 0: \x{37e}
304 ** Failers
305 0: *
306 X
307 No match
308 \x{203f}
309 No match
310
311 /^\p{Ps}/8
312 (
313 0: (
314 [
315 0: [
316 {
317 0: {
318 \x{f3c}
319 0: \x{f3c}
320 ** Failers
321 No match
322 X
323 No match
324 )
325 No match
326 ]
327 No match
328 }
329 No match
330 \x{f3b}
331 No match
332
333 /^\p{Sk}/8
334 \x{2c2}
335 0: \x{2c2}
336 ** Failers
337 No match
338 X
339 No match
340 \x{9f2}
341 No match
342
343 /^\p{Sm}+/8
344 +<|~\x{ac}\x{2044}
345 0: +<|~\x{ac}\x{2044}
346 ** Failers
347 No match
348 X
349 No match
350 \x{9f2}
351 No match
352
353 /^\p{So}/8
354 \x{a6}
355 0: \x{a6}
356 \x{482}
357 0: \x{482}
358 ** Failers
359 No match
360 X
361 No match
362 \x{9f2}
363 No match
364
365 /^\p{Zl}/8
366 \x{2028}
367 0: \x{2028}
368 ** Failers
369 No match
370 X
371 No match
372 \x{2029}
373 No match
374
375 /^\p{Zp}/8
376 \x{2029}
377 0: \x{2029}
378 ** Failers
379 No match
380 X
381 No match
382 \x{2028}
383 No match
384
385 /\p{Nd}+(..)/8
386 \x{660}\x{661}\x{662}ABC
387 0: \x{660}\x{661}\x{662}AB
388 1: AB
389
390 /\p{Nd}+?(..)/8
391 \x{660}\x{661}\x{662}ABC
392 0: \x{660}\x{661}\x{662}
393 1: \x{661}\x{662}
394
395 /\p{Nd}{2,}(..)/8
396 \x{660}\x{661}\x{662}ABC
397 0: \x{660}\x{661}\x{662}AB
398 1: AB
399
400 /\p{Nd}{2,}?(..)/8
401 \x{660}\x{661}\x{662}ABC
402 0: \x{660}\x{661}\x{662}A
403 1: \x{662}A
404
405 /\p{Nd}*(..)/8
406 \x{660}\x{661}\x{662}ABC
407 0: \x{660}\x{661}\x{662}AB
408 1: AB
409
410 /\p{Nd}*?(..)/8
411 \x{660}\x{661}\x{662}ABC
412 0: \x{660}\x{661}
413 1: \x{660}\x{661}
414
415 /\p{Nd}{2}(..)/8
416 \x{660}\x{661}\x{662}ABC
417 0: \x{660}\x{661}\x{662}A
418 1: \x{662}A
419
420 /\p{Nd}{2,3}(..)/8
421 \x{660}\x{661}\x{662}ABC
422 0: \x{660}\x{661}\x{662}AB
423 1: AB
424
425 /\p{Nd}{2,3}?(..)/8
426 \x{660}\x{661}\x{662}ABC
427 0: \x{660}\x{661}\x{662}A
428 1: \x{662}A
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}??(..)/8
436 \x{660}\x{661}\x{662}ABC
437 0: \x{660}\x{661}
438 1: \x{660}\x{661}
439
440 /\p{Nd}*+(..)/8
441 \x{660}\x{661}\x{662}ABC
442 0: \x{660}\x{661}\x{662}AB
443 1: AB
444
445 /\p{Nd}*+(...)/8
446 \x{660}\x{661}\x{662}ABC
447 0: \x{660}\x{661}\x{662}ABC
448 1: ABC
449
450 /\p{Nd}*+(....)/8
451 ** Failers
452 0: ** F
453 1: ** F
454 \x{660}\x{661}\x{662}ABC
455 No match
456
457 /(?<=A\p{Nd})XYZ/8
458 A2XYZ
459 0: XYZ
460 123A5XYZPQR
461 0: XYZ
462 ABA\x{660}XYZpqr
463 0: XYZ
464 ** Failers
465 No match
466 AXYZ
467 No match
468 XYZ
469 No match
470
471 /(?<!\pL)XYZ/8
472 1XYZ
473 0: XYZ
474 AB=XYZ..
475 0: XYZ
476 XYZ
477 0: XYZ
478 ** Failers
479 No match
480 WXYZ
481 No match
482
483 /[\P{Nd}]+/8
484 abcd
485 0: abcd
486 ** Failers
487 0: ** Failers
488 1234
489 No match
490
491 /\D+/8
492 11111111111111111111111111111111111111111111111111111111111111111111111
493 No match
494 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
495 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
496
497 /\P{Nd}+/8
498 11111111111111111111111111111111111111111111111111111111111111111111111
499 No match
500 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
501 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
502
503 /[\D]+/8
504 11111111111111111111111111111111111111111111111111111111111111111111111
505 No match
506 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
507 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
508
509 /[\P{Nd}]+/8
510 11111111111111111111111111111111111111111111111111111111111111111111111
511 No match
512 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
513 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
514
515 /[\D\P{Nd}]+/8
516 11111111111111111111111111111111111111111111111111111111111111111111111
517 No match
518 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
519 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
520
521 /\pL/8
522 a
523 0: a
524 A
525 0: A
526
527 /\pL/8i
528 a
529 0: a
530 A
531 0: A
532
533 /\p{Lu}/8
534 A
535 0: A
536 aZ
537 0: Z
538 ** Failers
539 0: F
540 abc
541 No match
542
543 /\p{Lu}/8i
544 A
545 0: A
546 aZ
547 0: Z
548 ** Failers
549 0: F
550 abc
551 No match
552
553 /\p{Ll}/8
554 a
555 0: a
556 Az
557 0: z
558 ** Failers
559 0: a
560 ABC
561 No match
562
563 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8
564 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
565 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0}
566 ** Failers
567 No match
568 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
569 No match
570 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
571 No match
572 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
573 No match
574 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
575 No match
576 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
577 No match
578
579 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8i
580 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
581 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0}
582 a\x{391}\x{10427}\x{ff3a}\x{1fb0}
583 0: a\x{391}\x{10427}\x{ff3a}\x{1fb0}
584 A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
585 0: A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
586 A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
587 0: A\x{391}\x{1044f}\x{ff3a}\x{1fb0}
588 A\x{391}\x{10427}\x{ff5a}\x{1fb0}
589 0: A\x{391}\x{10427}\x{ff5a}\x{1fb0}
590 A\x{391}\x{10427}\x{ff3a}\x{1fb8}
591 0: A\x{391}\x{10427}\x{ff3a}\x{1fb8}
592
593 /\x{391}+/8i
594 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
595 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
596
597 /\x{391}{3,5}(.)/8i
598 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
599 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
600 1: X
601
602 /\x{391}{3,5}?(.)/8i
603 \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
604 0: \x{391}\x{3b1}\x{3b1}\x{3b1}
605 1: \x{3b1}
606
607 /[\x{391}\x{ff3a}]/8i
608 \x{391}
609 0: \x{391}
610 \x{ff3a}
611 0: \x{ff3a}
612 \x{3b1}
613 0: \x{3b1}
614 \x{ff5a}
615 0: \x{ff5a}
616
617 /^\X/8
618 A
619 0: A
620 A\x{300}BC
621 0: A\x{300}
622 A\x{300}\x{301}\x{302}BC
623 0: A\x{300}\x{301}\x{302}
624 *** Failers
625 0: *
626 \x{300}
627 No match
628
629 /^[\X]/8
630 X123
631 0: X
632 *** Failers
633 No match
634 AXYZ
635 No match
636
637 /^(\X*)C/8
638 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
639 0: A\x{300}\x{301}\x{302}BC
640 1: A\x{300}\x{301}\x{302}B
641 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
642 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
643 1: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
644
645 /^(\X*?)C/8
646 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
647 0: A\x{300}\x{301}\x{302}BC
648 1: A\x{300}\x{301}\x{302}B
649 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
650 0: A\x{300}\x{301}\x{302}BC
651 1: A\x{300}\x{301}\x{302}B
652
653 /^(\X*)(.)/8
654 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
655 0: A\x{300}\x{301}\x{302}BCA
656 1: A\x{300}\x{301}\x{302}BC
657 2: A
658 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
659 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
660 1: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
661 2: C
662
663 /^(\X*?)(.)/8
664 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
665 0: A
666 1:
667 2: A
668 A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
669 0: A
670 1:
671 2: A
672
673 /^\X(.)/8
674 *** Failers
675 0: **
676 1: *
677 A\x{300}\x{301}\x{302}
678 No match
679
680 /^\X{2,3}(.)/8
681 A\x{300}\x{301}B\x{300}X
682 0: A\x{300}\x{301}B\x{300}X
683 1: X
684 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
685 0: A\x{300}\x{301}B\x{300}C
686 1: C
687 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
688 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
689 1: X
690 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
691 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}D
692 1: D
693
694 /^\X{2,3}?(.)/8
695 A\x{300}\x{301}B\x{300}X
696 0: A\x{300}\x{301}B\x{300}X
697 1: X
698 A\x{300}\x{301}B\x{300}C\x{300}\x{301}
699 0: A\x{300}\x{301}B\x{300}C
700 1: C
701 A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
702 0: A\x{300}\x{301}B\x{300}C
703 1: C
704 A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
705 0: A\x{300}\x{301}B\x{300}C
706 1: C
707
708 /^\p{Han}+/8
709 \x{2e81}\x{3007}\x{2f804}\x{31a0}
710 0: \x{2e81}\x{3007}\x{2f804}
711 ** Failers
712 No match
713 \x{2e7f}
714 No match
715
716 /^\P{Katakana}+/8
717 \x{3105}
718 0: \x{3105}
719 ** Failers
720 0: ** Failers
721 \x{30ff}
722 No match
723
724 /^[\p{Arabic}]/8
725 \x{06e9}
726 0: \x{6e9}
727 \x{060b}
728 0: \x{60b}
729 ** Failers
730 No match
731 X\x{06e9}
732 No match
733
734 /^[\P{Yi}]/8
735 \x{2f800}
736 0: \x{2f800}
737 ** Failers
738 0: *
739 \x{a014}
740 No match
741 \x{a4c6}
742 No match
743
744 /^\p{Any}X/8
745 AXYZ
746 0: AX
747 \x{1234}XYZ
748 0: \x{1234}X
749 ** Failers
750 No match
751 X
752 No match
753
754 /^\P{Any}X/8
755 ** Failers
756 No match
757 AX
758 No match
759
760 /^\p{Any}?X/8
761 XYZ
762 0: X
763 AXYZ
764 0: AX
765 \x{1234}XYZ
766 0: \x{1234}X
767 ** Failers
768 No match
769 ABXYZ
770 No match
771
772 /^\P{Any}?X/8
773 XYZ
774 0: X
775 ** Failers
776 No match
777 AXYZ
778 No match
779 \x{1234}XYZ
780 No match
781 ABXYZ
782 No match
783
784 /^\p{Any}+X/8
785 AXYZ
786 0: AX
787 \x{1234}XYZ
788 0: \x{1234}X
789 A\x{1234}XYZ
790 0: A\x{1234}X
791 ** Failers
792 No match
793 XYZ
794 No match
795
796 /^\P{Any}+X/8
797 ** Failers
798 No match
799 AXYZ
800 No match
801 \x{1234}XYZ
802 No match
803 A\x{1234}XYZ
804 No match
805 XYZ
806 No match
807
808 /^\p{Any}*X/8
809 XYZ
810 0: X
811 AXYZ
812 0: AX
813 \x{1234}XYZ
814 0: \x{1234}X
815 A\x{1234}XYZ
816 0: A\x{1234}X
817 ** Failers
818 No match
819
820 /^\P{Any}*X/8
821 XYZ
822 0: X
823 ** Failers
824 No match
825 AXYZ
826 No match
827 \x{1234}XYZ
828 No match
829 A\x{1234}XYZ
830 No match
831
832 /^[\p{Any}]X/8
833 AXYZ
834 0: AX
835 \x{1234}XYZ
836 0: \x{1234}X
837 ** Failers
838 No match
839 X
840 No match
841
842 /^[\P{Any}]X/8
843 ** Failers
844 No match
845 AX
846 No match
847
848 /^[\p{Any}]?X/8
849 XYZ
850 0: X
851 AXYZ
852 0: AX
853 \x{1234}XYZ
854 0: \x{1234}X
855 ** Failers
856 No match
857 ABXYZ
858 No match
859
860 /^[\P{Any}]?X/8
861 XYZ
862 0: X
863 ** Failers
864 No match
865 AXYZ
866 No match
867 \x{1234}XYZ
868 No match
869 ABXYZ
870 No match
871
872 /^[\p{Any}]+X/8
873 AXYZ
874 0: AX
875 \x{1234}XYZ
876 0: \x{1234}X
877 A\x{1234}XYZ
878 0: A\x{1234}X
879 ** Failers
880 No match
881 XYZ
882 No match
883
884 /^[\P{Any}]+X/8
885 ** Failers
886 No match
887 AXYZ
888 No match
889 \x{1234}XYZ
890 No match
891 A\x{1234}XYZ
892 No match
893 XYZ
894 No match
895
896 /^[\p{Any}]*X/8
897 XYZ
898 0: X
899 AXYZ
900 0: AX
901 \x{1234}XYZ
902 0: \x{1234}X
903 A\x{1234}XYZ
904 0: A\x{1234}X
905 ** Failers
906 No match
907
908 /^[\P{Any}]*X/8
909 XYZ
910 0: X
911 ** Failers
912 No match
913 AXYZ
914 No match
915 \x{1234}XYZ
916 No match
917 A\x{1234}XYZ
918 No match
919
920 /^\p{Any}{3,5}?/8
921 abcdefgh
922 0: abc
923 \x{1234}\n\r\x{3456}xyz
924 0: \x{1234}\x{0a}\x{0d}
925
926 /^\p{Any}{3,5}/8
927 abcdefgh
928 0: abcde
929 \x{1234}\n\r\x{3456}xyz
930 0: \x{1234}\x{0a}\x{0d}\x{3456}x
931
932 /^\P{Any}{3,5}?/8
933 ** Failers
934 No match
935 abcdefgh
936 No match
937 \x{1234}\n\r\x{3456}xyz
938 No match
939
940 /^\p{L&}X/8
941 AXY
942 0: AX
943 aXY
944 0: aX
945 \x{1c5}XY
946 0: \x{1c5}X
947 ** Failers
948 No match
949 \x{1bb}XY
950 No match
951 \x{2b0}XY
952 No match
953 !XY
954 No match
955
956 /^[\p{L&}]X/8
957 AXY
958 0: AX
959 aXY
960 0: aX
961 \x{1c5}XY
962 0: \x{1c5}X
963 ** Failers
964 No match
965 \x{1bb}XY
966 No match
967 \x{2b0}XY
968 No match
969 !XY
970 No match
971
972 /^\p{L&}+X/8
973 AXY
974 0: AX
975 aXY
976 0: aX
977 AbcdeXyz
978 0: AbcdeX
979 \x{1c5}AbXY
980 0: \x{1c5}AbX
981 abcDEXypqreXlmn
982 0: abcDEXypqreX
983 ** Failers
984 No match
985 \x{1bb}XY
986 No match
987 \x{2b0}XY
988 No match
989 !XY
990 No match
991
992 /^[\p{L&}]+X/8
993 AXY
994 0: AX
995 aXY
996 0: aX
997 AbcdeXyz
998 0: AbcdeX
999 \x{1c5}AbXY
1000 0: \x{1c5}AbX
1001 abcDEXypqreXlmn
1002 0: abcDEXypqreX
1003 ** Failers
1004 No match
1005 \x{1bb}XY
1006 No match
1007 \x{2b0}XY
1008 No match
1009 !XY
1010 No match
1011
1012 /^\p{L&}+?X/8
1013 AXY
1014 0: AX
1015 aXY
1016 0: aX
1017 AbcdeXyz
1018 0: AbcdeX
1019 \x{1c5}AbXY
1020 0: \x{1c5}AbX
1021 abcDEXypqreXlmn
1022 0: abcDEX
1023 ** Failers
1024 No match
1025 \x{1bb}XY
1026 No match
1027 \x{2b0}XY
1028 No match
1029 !XY
1030 No match
1031
1032 /^[\p{L&}]+?X/8
1033 AXY
1034 0: AX
1035 aXY
1036 0: aX
1037 AbcdeXyz
1038 0: AbcdeX
1039 \x{1c5}AbXY
1040 0: \x{1c5}AbX
1041 abcDEXypqreXlmn
1042 0: abcDEX
1043 ** Failers
1044 No match
1045 \x{1bb}XY
1046 No match
1047 \x{2b0}XY
1048 No match
1049 !XY
1050 No match
1051
1052 /^\P{L&}X/8
1053 !XY
1054 0: !X
1055 \x{1bb}XY
1056 0: \x{1bb}X
1057 \x{2b0}XY
1058 0: \x{2b0}X
1059 ** Failers
1060 No match
1061 \x{1c5}XY
1062 No match
1063 AXY
1064 No match
1065
1066 /^[\P{L&}]X/8
1067 !XY
1068 0: !X
1069 \x{1bb}XY
1070 0: \x{1bb}X
1071 \x{2b0}XY
1072 0: \x{2b0}X
1073 ** Failers
1074 No match
1075 \x{1c5}XY
1076 No match
1077 AXY
1078 No match
1079
1080 /^(\p{Z}[^\p{C}\p{Z}]+)*$/
1081 \xa0!
1082 0: \xa0!
1083 1: \xa0!
1084
1085 /^[\pL](abc)(?1)/
1086 AabcabcYZ
1087 0: Aabcabc
1088 1: abc
1089
1090 /([\pL]=(abc))*X/
1091 L=abcX
1092 0: L=abcX
1093 1: L=abc
1094 2: abc
1095
1096 /^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
1097 \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
1098 0: \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
1099
1100 /Check property support in non-UTF-8 mode/
1101
1102 /\p{L}{4}/
1103 123abcdefg
1104 0: abcd
1105 123abc\xc4\xc5zz
1106 0: abc\xc4
1107
1108 /\X{1,3}\d/
1109 \x8aBCD
1110 No match
1111
1112 /\X?\d/
1113 \x8aBCD
1114 No match
1115
1116 /\P{L}?\d/
1117 \x8aBCD
1118 No match
1119
1120 /[\PPP\x8a]{1,}\x80/
1121 A\x80
1122 0: A\x80
1123
1124 /^[\p{Arabic}]/8
1125 \x{60e}
1126 0: \x{60e}
1127 \x{656}
1128 0: \x{656}
1129 \x{657}
1130 0: \x{657}
1131 \x{658}
1132 0: \x{658}
1133 \x{659}
1134 0: \x{659}
1135 \x{65a}
1136 0: \x{65a}
1137 \x{65b}
1138 0: \x{65b}
1139 \x{65c}
1140 0: \x{65c}
1141 \x{65d}
1142 0: \x{65d}
1143 \x{65e}
1144 0: \x{65e}
1145 \x{66a}
1146 0: \x{66a}
1147 \x{6e9}
1148 0: \x{6e9}
1149 \x{6ef}
1150 0: \x{6ef}
1151 \x{6fa}
1152 0: \x{6fa}
1153 ** Failers
1154 No match
1155 \x{600}
1156 No match
1157 \x{650}
1158 No match
1159 \x{651}
1160 No match
1161 \x{652}
1162 No match
1163 \x{653}
1164 No match
1165 \x{654}
1166 No match
1167 \x{655}
1168 No match
1169 \x{65f}
1170 No match
1171
1172 /^\p{Cyrillic}/8
1173 \x{1d2b}
1174 0: \x{1d2b}
1175
1176 /^\p{Common}/8
1177 \x{589}
1178 0: \x{589}
1179 \x{60c}
1180 0: \x{60c}
1181 \x{61f}
1182 0: \x{61f}
1183 \x{964}
1184 0: \x{964}
1185 \x{965}
1186 0: \x{965}
1187 \x{970}
1188 0: \x{970}
1189
1190 /^\p{Inherited}/8
1191 \x{64b}
1192 0: \x{64b}
1193 \x{654}
1194 0: \x{654}
1195 \x{655}
1196 0: \x{655}
1197 \x{200c}
1198 0: \x{200c}
1199 ** Failers
1200 No match
1201 \x{64a}
1202 No match
1203 \x{656}
1204 No match
1205
1206 /^\p{Shavian}/8
1207 \x{10450}
1208 0: \x{10450}
1209 \x{1047f}
1210 0: \x{1047f}
1211
1212 /^\p{Deseret}/8
1213 \x{10400}
1214 0: \x{10400}
1215 \x{1044f}
1216 0: \x{1044f}
1217
1218 /^\p{Osmanya}/8
1219 \x{10480}
1220 0: \x{10480}
1221 \x{1049d}
1222 0: \x{1049d}
1223 \x{104a0}
1224 0: \x{104a0}
1225 \x{104a9}
1226 0: \x{104a9}
1227 ** Failers
1228 No match
1229 \x{1049e}
1230 No match
1231 \x{1049f}
1232 No match
1233 \x{104aa}
1234 No match
1235
1236 /\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
1237 \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}====
1238 0: \x{102a4}\x{aa52}\x{a91d}\x{1c46}\x{10283}\x{1092e}\x{1c6b}\x{a93b}\x{a8bf}\x{1ba0}\x{a50a}
1239
1240 /\x{a77d}\x{1d79}/8i
1241 \x{a77d}\x{1d79}
1242 0: \x{a77d}\x{1d79}
1243 \x{1d79}\x{a77d}
1244 0: \x{1d79}\x{a77d}
1245
1246 /\x{a77d}\x{1d79}/8
1247 \x{a77d}\x{1d79}
1248 0: \x{a77d}\x{1d79}
1249 ** Failers
1250 No match
1251 \x{1d79}\x{a77d}
1252 No match
1253
1254 /(A)\1/8i
1255 AA
1256 0: AA
1257 1: A
1258 Aa
1259 0: Aa
1260 1: A
1261 aa
1262 0: aa
1263 1: a
1264 aA
1265 0: aA
1266 1: a
1267
1268 /(\x{10a})\1/8i
1269 \x{10a}\x{10a}
1270 0: \x{10a}\x{10a}
1271 1: \x{10a}
1272 \x{10a}\x{10b}
1273 0: \x{10a}\x{10b}
1274 1: \x{10a}
1275 \x{10b}\x{10b}
1276 0: \x{10b}\x{10b}
1277 1: \x{10b}
1278 \x{10b}\x{10a}
1279 0: \x{10b}\x{10a}
1280 1: \x{10b}
1281
1282 /The next two tests are for property support in non-UTF-8 mode/
1283
1284 /(?:\p{Lu}|\x20)+/
1285 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
1286 0: A P\xc2T\xc9 TODAY
1287
1288 /[\p{Lu}\x20]+/
1289 \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
1290 0: A P\xc2T\xc9 TODAY
1291
1292 / End of testinput6 /

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5