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

Contents of /code/trunk/testdata/testoutput6

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.5