xref: /PHP-5.3/ext/pcre/pcrelib/testdata/testoutput6 (revision 357ab3cb)
1/-- This set of tests is for Unicode property support. It is compatible with
2    Perl >= 5.15. --/
3
4/^\pC\pL\pM\pN\pP\pS\pZ</8
5    \x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
6 0: \x{7f}\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
7    \np\x{300}9!\$ <
8 0: \x{0a}p\x{300}9!$ <
9    ** Failers
10No match
11    ap\x{300}9!\$ <
12No match
13
14/^\PC/8
15    X
16 0: X
17    ** Failers
18 0: *
19    \x7f
20No match
21
22/^\PL/8
23    9
24 0: 9
25    ** Failers
26 0: *
27    \x{c0}
28No match
29
30/^\PM/8
31    X
32 0: X
33    ** Failers
34 0: *
35    \x{30f}
36No match
37
38/^\PN/8
39    X
40 0: X
41    ** Failers
42 0: *
43    \x{660}
44No match
45
46/^\PP/8
47    X
48 0: X
49    ** Failers
50No match
51    \x{66c}
52No match
53
54/^\PS/8
55    X
56 0: X
57    ** Failers
58 0: *
59    \x{f01}
60No match
61
62/^\PZ/8
63    X
64 0: X
65    ** Failers
66 0: *
67    \x{1680}
68No match
69
70/^\p{Cc}/8
71    \x{017}
72 0: \x{17}
73    \x{09f}
74 0: \x{9f}
75    ** Failers
76No match
77    \x{0600}
78No match
79
80/^\p{Cf}/8
81    \x{601}
82 0: \x{601}
83    ** Failers
84No match
85    \x{09f}
86No match
87
88/^\p{Cn}/8
89    \x{e0000}
90 0: \x{e0000}
91    ** Failers
92No match
93    \x{09f}
94No match
95
96/^\p{Co}/8
97    \x{f8ff}
98 0: \x{f8ff}
99    ** Failers
100No match
101    \x{09f}
102No match
103
104/^\p{Ll}/8
105    a
106 0: a
107    ** Failers
108No match
109    Z
110No match
111    \x{e000}
112No match
113
114/^\p{Lm}/8
115    \x{2b0}
116 0: \x{2b0}
117    ** Failers
118No match
119    a
120No match
121
122/^\p{Lo}/8
123    \x{1bb}
124 0: \x{1bb}
125    \x{3400}
126 0: \x{3400}
127    \x{3401}
128 0: \x{3401}
129    \x{4d00}
130 0: \x{4d00}
131    \x{4db4}
132 0: \x{4db4}
133    \x{4db5}
134 0: \x{4db5}
135    ** Failers
136No match
137    a
138No match
139    \x{2b0}
140No match
141    \x{4db6}
142No match
143
144/^\p{Lt}/8
145    \x{1c5}
146 0: \x{1c5}
147    ** Failers
148No match
149    a
150No match
151    \x{2b0}
152No match
153
154/^\p{Lu}/8
155    A
156 0: A
157    ** Failers
158No match
159    \x{2b0}
160No match
161
162/^\p{Mc}/8
163    \x{903}
164 0: \x{903}
165    ** Failers
166No match
167    X
168No match
169    \x{300}
170No match
171
172/^\p{Me}/8
173    \x{488}
174 0: \x{488}
175    ** Failers
176No match
177    X
178No match
179    \x{903}
180No match
181    \x{300}
182No match
183
184/^\p{Mn}/8
185    \x{300}
186 0: \x{300}
187    ** Failers
188No match
189    X
190No match
191    \x{903}
192No match
193
194/^\p{Nd}+/8
195    0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}\x{66a}
196 0: 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}
197    \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}\x{6fa}
198 0: \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}
199    \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}\x{970}
200 0: \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}
201    ** Failers
202No match
203    X
204No match
205
206/^\p{Nl}/8
207    \x{16ee}
208 0: \x{16ee}
209    ** Failers
210No match
211    X
212No match
213    \x{966}
214No match
215
216/^\p{No}/8
217    \x{b2}
218 0: \x{b2}
219    \x{b3}
220 0: \x{b3}
221    ** Failers
222No match
223    X
224No match
225    \x{16ee}
226No match
227
228/^\p{Pc}/8
229    \x5f
230 0: _
231    \x{203f}
232 0: \x{203f}
233    ** Failers
234No match
235    X
236No match
237    -
238No match
239    \x{58a}
240No match
241
242/^\p{Pd}/8
243    -
244 0: -
245    \x{58a}
246 0: \x{58a}
247    ** Failers
248No match
249    X
250No match
251    \x{203f}
252No match
253
254/^\p{Pe}/8
255    )
256 0: )
257    ]
258 0: ]
259    }
260 0: }
261    \x{f3b}
262 0: \x{f3b}
263    ** Failers
264No match
265    X
266No match
267    \x{203f}
268No match
269    (
270No match
271    [
272No match
273    {
274No match
275    \x{f3c}
276No match
277
278/^\p{Pf}/8
279    \x{bb}
280 0: \x{bb}
281    \x{2019}
282 0: \x{2019}
283    ** Failers
284No match
285    X
286No match
287    \x{203f}
288No match
289
290/^\p{Pi}/8
291    \x{ab}
292 0: \x{ab}
293    \x{2018}
294 0: \x{2018}
295    ** Failers
296No match
297    X
298No match
299    \x{203f}
300No match
301
302/^\p{Po}/8
303    !
304 0: !
305    \x{37e}
306 0: \x{37e}
307    ** Failers
308 0: *
309    X
310No match
311    \x{203f}
312No match
313
314/^\p{Ps}/8
315    (
316 0: (
317    [
318 0: [
319    {
320 0: {
321    \x{f3c}
322 0: \x{f3c}
323    ** Failers
324No match
325    X
326No match
327    )
328No match
329    ]
330No match
331    }
332No match
333    \x{f3b}
334No match
335
336/^\p{Sk}/8
337    \x{2c2}
338 0: \x{2c2}
339    ** Failers
340No match
341    X
342No match
343    \x{9f2}
344No match
345
346/^\p{Sm}+/8
347    +<|~\x{ac}\x{2044}
348 0: +<|~\x{ac}\x{2044}
349    ** Failers
350No match
351    X
352No match
353    \x{9f2}
354No match
355
356/^\p{So}/8
357    \x{a6}
358 0: \x{a6}
359    \x{482}
360 0: \x{482}
361    ** Failers
362No match
363    X
364No match
365    \x{9f2}
366No match
367
368/^\p{Zl}/8
369    \x{2028}
370 0: \x{2028}
371    ** Failers
372No match
373    X
374No match
375    \x{2029}
376No match
377
378/^\p{Zp}/8
379    \x{2029}
380 0: \x{2029}
381    ** Failers
382No match
383    X
384No match
385    \x{2028}
386No match
387
388/\p{Nd}+(..)/8
389      \x{660}\x{661}\x{662}ABC
390 0: \x{660}\x{661}\x{662}AB
391 1: AB
392
393/\p{Nd}+?(..)/8
394      \x{660}\x{661}\x{662}ABC
395 0: \x{660}\x{661}\x{662}
396 1: \x{661}\x{662}
397
398/\p{Nd}{2,}(..)/8
399      \x{660}\x{661}\x{662}ABC
400 0: \x{660}\x{661}\x{662}AB
401 1: AB
402
403/\p{Nd}{2,}?(..)/8
404      \x{660}\x{661}\x{662}ABC
405 0: \x{660}\x{661}\x{662}A
406 1: \x{662}A
407
408/\p{Nd}*(..)/8
409      \x{660}\x{661}\x{662}ABC
410 0: \x{660}\x{661}\x{662}AB
411 1: AB
412
413/\p{Nd}*?(..)/8
414      \x{660}\x{661}\x{662}ABC
415 0: \x{660}\x{661}
416 1: \x{660}\x{661}
417
418/\p{Nd}{2}(..)/8
419      \x{660}\x{661}\x{662}ABC
420 0: \x{660}\x{661}\x{662}A
421 1: \x{662}A
422
423/\p{Nd}{2,3}(..)/8
424      \x{660}\x{661}\x{662}ABC
425 0: \x{660}\x{661}\x{662}AB
426 1: AB
427
428/\p{Nd}{2,3}?(..)/8
429      \x{660}\x{661}\x{662}ABC
430 0: \x{660}\x{661}\x{662}A
431 1: \x{662}A
432
433/\p{Nd}?(..)/8
434      \x{660}\x{661}\x{662}ABC
435 0: \x{660}\x{661}\x{662}
436 1: \x{661}\x{662}
437
438/\p{Nd}??(..)/8
439      \x{660}\x{661}\x{662}ABC
440 0: \x{660}\x{661}
441 1: \x{660}\x{661}
442
443/\p{Nd}*+(..)/8
444      \x{660}\x{661}\x{662}ABC
445 0: \x{660}\x{661}\x{662}AB
446 1: AB
447
448/\p{Nd}*+(...)/8
449      \x{660}\x{661}\x{662}ABC
450 0: \x{660}\x{661}\x{662}ABC
451 1: ABC
452
453/\p{Nd}*+(....)/8
454      ** Failers
455 0: ** F
456 1: ** F
457      \x{660}\x{661}\x{662}ABC
458No match
459
460/(?<=A\p{Nd})XYZ/8
461    A2XYZ
462 0: XYZ
463    123A5XYZPQR
464 0: XYZ
465    ABA\x{660}XYZpqr
466 0: XYZ
467    ** Failers
468No match
469    AXYZ
470No match
471    XYZ
472No match
473
474/(?<!\pL)XYZ/8
475    1XYZ
476 0: XYZ
477    AB=XYZ..
478 0: XYZ
479    XYZ
480 0: XYZ
481    ** Failers
482No match
483    WXYZ
484No match
485
486/[\P{Nd}]+/8
487    abcd
488 0: abcd
489    ** Failers
490 0: ** Failers
491    1234
492No match
493
494/\D+/8
495    11111111111111111111111111111111111111111111111111111111111111111111111
496No match
497    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
498 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
499
500/\P{Nd}+/8
501    11111111111111111111111111111111111111111111111111111111111111111111111
502No match
503    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
504 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
505
506/[\D]+/8
507    11111111111111111111111111111111111111111111111111111111111111111111111
508No match
509    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
510 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
511
512/[\P{Nd}]+/8
513    11111111111111111111111111111111111111111111111111111111111111111111111
514No match
515    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
516 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
517
518/[\D\P{Nd}]+/8
519    11111111111111111111111111111111111111111111111111111111111111111111111
520No match
521    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
522 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
523
524/\pL/8
525    a
526 0: a
527    A
528 0: A
529
530/\pL/8i
531    a
532 0: a
533    A
534 0: A
535
536/\p{Lu}/8
537    A
538 0: A
539    aZ
540 0: Z
541    ** Failers
542 0: F
543    abc
544No match
545
546/\p{Lu}/8i
547    A
548 0: A
549    aZ
550 0: Z
551    ** Failers
552 0: F
553    abc
554No match
555
556/\p{Ll}/8
557    a
558 0: a
559    Az
560 0: z
561    ** Failers
562 0: a
563    ABC
564No match
565
566/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8
567    A\x{391}\x{10427}\x{ff3a}\x{1fb0}
568 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0}
569    ** Failers
570No match
571    a\x{391}\x{10427}\x{ff3a}\x{1fb0}
572No match
573    A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
574No match
575    A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
576No match
577    A\x{391}\x{10427}\x{ff5a}\x{1fb0}
578No match
579    A\x{391}\x{10427}\x{ff3a}\x{1fb8}
580No match
581
582/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8i
583    A\x{391}\x{10427}\x{ff3a}\x{1fb0}
584 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0}
585    a\x{391}\x{10427}\x{ff3a}\x{1fb0}
586 0: a\x{391}\x{10427}\x{ff3a}\x{1fb0}
587    A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
588 0: A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
589    A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
590 0: A\x{391}\x{1044f}\x{ff3a}\x{1fb0}
591    A\x{391}\x{10427}\x{ff5a}\x{1fb0}
592 0: A\x{391}\x{10427}\x{ff5a}\x{1fb0}
593    A\x{391}\x{10427}\x{ff3a}\x{1fb8}
594 0: A\x{391}\x{10427}\x{ff3a}\x{1fb8}
595
596/\x{391}+/8i
597    \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
598 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
599
600/\x{391}{3,5}(.)/8i
601    \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
602 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
603 1: X
604
605/\x{391}{3,5}?(.)/8i
606    \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
607 0: \x{391}\x{3b1}\x{3b1}\x{3b1}
608 1: \x{3b1}
609
610/[\x{391}\x{ff3a}]/8i
611    \x{391}
612 0: \x{391}
613    \x{ff3a}
614 0: \x{ff3a}
615    \x{3b1}
616 0: \x{3b1}
617    \x{ff5a}
618 0: \x{ff5a}
619
620/^[\X]/8
621    X123
622 0: X
623    *** Failers
624No match
625    AXYZ
626No match
627
628/^(\X*)C/8
629    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
630 0: A\x{300}\x{301}\x{302}BC
631 1: A\x{300}\x{301}\x{302}B
632    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
633 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
634 1: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
635
636/^(\X*?)C/8
637    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
638 0: A\x{300}\x{301}\x{302}BC
639 1: A\x{300}\x{301}\x{302}B
640    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
641 0: A\x{300}\x{301}\x{302}BC
642 1: A\x{300}\x{301}\x{302}B
643
644/^(\X*)(.)/8
645    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
646 0: A\x{300}\x{301}\x{302}BCA
647 1: A\x{300}\x{301}\x{302}BC
648 2: A
649    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
650 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
651 1: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
652 2: C
653
654/^(\X*?)(.)/8
655    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
656 0: A
657 1:
658 2: A
659    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
660 0: A
661 1:
662 2: A
663
664/^\X(.)/8
665    *** Failers
666 0: **
667 1: *
668    A\x{300}\x{301}\x{302}
669No match
670
671/^\X{2,3}(.)/8
672    A\x{300}\x{301}B\x{300}X
673 0: A\x{300}\x{301}B\x{300}X
674 1: X
675    A\x{300}\x{301}B\x{300}C\x{300}\x{301}
676 0: A\x{300}\x{301}B\x{300}C
677 1: C
678    A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
679 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
680 1: X
681    A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
682 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}D
683 1: D
684
685/^\X{2,3}?(.)/8
686    A\x{300}\x{301}B\x{300}X
687 0: A\x{300}\x{301}B\x{300}X
688 1: X
689    A\x{300}\x{301}B\x{300}C\x{300}\x{301}
690 0: A\x{300}\x{301}B\x{300}C
691 1: C
692    A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
693 0: A\x{300}\x{301}B\x{300}C
694 1: C
695    A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
696 0: A\x{300}\x{301}B\x{300}C
697 1: C
698
699/^\X/8
700    A
701 0: A
702    A\x{300}BC
703 0: A\x{300}
704    A\x{300}\x{301}\x{302}BC
705 0: A\x{300}\x{301}\x{302}
706    \x{300}
707 0: \x{300}
708
709/^\p{Han}+/8
710    \x{2e81}\x{3007}\x{2f804}\x{31a0}
711 0: \x{2e81}\x{3007}\x{2f804}
712    ** Failers
713No match
714    \x{2e7f}
715No match
716
717/^\P{Katakana}+/8
718    \x{3105}
719 0: \x{3105}
720    ** Failers
721 0: ** Failers
722    \x{30ff}
723No match
724
725/^[\p{Arabic}]/8
726    \x{06e9}
727 0: \x{6e9}
728    \x{060b}
729 0: \x{60b}
730    ** Failers
731No match
732    X\x{06e9}
733No match
734
735/^[\P{Yi}]/8
736    \x{2f800}
737 0: \x{2f800}
738    ** Failers
739 0: *
740    \x{a014}
741No match
742    \x{a4c6}
743No match
744
745/^\p{Any}X/8
746    AXYZ
747 0: AX
748    \x{1234}XYZ
749 0: \x{1234}X
750    ** Failers
751No match
752    X
753No match
754
755/^\P{Any}X/8
756    ** Failers
757No match
758    AX
759No match
760
761/^\p{Any}?X/8
762    XYZ
763 0: X
764    AXYZ
765 0: AX
766    \x{1234}XYZ
767 0: \x{1234}X
768    ** Failers
769No match
770    ABXYZ
771No match
772
773/^\P{Any}?X/8
774    XYZ
775 0: X
776    ** Failers
777No match
778    AXYZ
779No match
780    \x{1234}XYZ
781No match
782    ABXYZ
783No match
784
785/^\p{Any}+X/8
786    AXYZ
787 0: AX
788    \x{1234}XYZ
789 0: \x{1234}X
790    A\x{1234}XYZ
791 0: A\x{1234}X
792    ** Failers
793No match
794    XYZ
795No match
796
797/^\P{Any}+X/8
798    ** Failers
799No match
800    AXYZ
801No match
802    \x{1234}XYZ
803No match
804    A\x{1234}XYZ
805No match
806    XYZ
807No match
808
809/^\p{Any}*X/8
810    XYZ
811 0: X
812    AXYZ
813 0: AX
814    \x{1234}XYZ
815 0: \x{1234}X
816    A\x{1234}XYZ
817 0: A\x{1234}X
818    ** Failers
819No match
820
821/^\P{Any}*X/8
822    XYZ
823 0: X
824    ** Failers
825No match
826    AXYZ
827No match
828    \x{1234}XYZ
829No match
830    A\x{1234}XYZ
831No match
832
833/^[\p{Any}]X/8
834    AXYZ
835 0: AX
836    \x{1234}XYZ
837 0: \x{1234}X
838    ** Failers
839No match
840    X
841No match
842
843/^[\P{Any}]X/8
844    ** Failers
845No match
846    AX
847No match
848
849/^[\p{Any}]?X/8
850    XYZ
851 0: X
852    AXYZ
853 0: AX
854    \x{1234}XYZ
855 0: \x{1234}X
856    ** Failers
857No match
858    ABXYZ
859No match
860
861/^[\P{Any}]?X/8
862    XYZ
863 0: X
864    ** Failers
865No match
866    AXYZ
867No match
868    \x{1234}XYZ
869No match
870    ABXYZ
871No match
872
873/^[\p{Any}]+X/8
874    AXYZ
875 0: AX
876    \x{1234}XYZ
877 0: \x{1234}X
878    A\x{1234}XYZ
879 0: A\x{1234}X
880    ** Failers
881No match
882    XYZ
883No match
884
885/^[\P{Any}]+X/8
886    ** Failers
887No match
888    AXYZ
889No match
890    \x{1234}XYZ
891No match
892    A\x{1234}XYZ
893No match
894    XYZ
895No match
896
897/^[\p{Any}]*X/8
898    XYZ
899 0: X
900    AXYZ
901 0: AX
902    \x{1234}XYZ
903 0: \x{1234}X
904    A\x{1234}XYZ
905 0: A\x{1234}X
906    ** Failers
907No match
908
909/^[\P{Any}]*X/8
910    XYZ
911 0: X
912    ** Failers
913No match
914    AXYZ
915No match
916    \x{1234}XYZ
917No match
918    A\x{1234}XYZ
919No match
920
921/^\p{Any}{3,5}?/8
922    abcdefgh
923 0: abc
924    \x{1234}\n\r\x{3456}xyz
925 0: \x{1234}\x{0a}\x{0d}
926
927/^\p{Any}{3,5}/8
928    abcdefgh
929 0: abcde
930    \x{1234}\n\r\x{3456}xyz
931 0: \x{1234}\x{0a}\x{0d}\x{3456}x
932
933/^\P{Any}{3,5}?/8
934    ** Failers
935No match
936    abcdefgh
937No match
938    \x{1234}\n\r\x{3456}xyz
939No match
940
941/^\p{L&}X/8
942     AXY
943 0: AX
944     aXY
945 0: aX
946     \x{1c5}XY
947 0: \x{1c5}X
948     ** Failers
949No match
950     \x{1bb}XY
951No match
952     \x{2b0}XY
953No match
954     !XY
955No match
956
957/^[\p{L&}]X/8
958     AXY
959 0: AX
960     aXY
961 0: aX
962     \x{1c5}XY
963 0: \x{1c5}X
964     ** Failers
965No match
966     \x{1bb}XY
967No match
968     \x{2b0}XY
969No match
970     !XY
971No match
972
973/^\p{L&}+X/8
974     AXY
975 0: AX
976     aXY
977 0: aX
978     AbcdeXyz
979 0: AbcdeX
980     \x{1c5}AbXY
981 0: \x{1c5}AbX
982     abcDEXypqreXlmn
983 0: abcDEXypqreX
984     ** Failers
985No match
986     \x{1bb}XY
987No match
988     \x{2b0}XY
989No match
990     !XY
991No match
992
993/^[\p{L&}]+X/8
994     AXY
995 0: AX
996     aXY
997 0: aX
998     AbcdeXyz
999 0: AbcdeX
1000     \x{1c5}AbXY
1001 0: \x{1c5}AbX
1002     abcDEXypqreXlmn
1003 0: abcDEXypqreX
1004     ** Failers
1005No match
1006     \x{1bb}XY
1007No match
1008     \x{2b0}XY
1009No match
1010     !XY
1011No match
1012
1013/^\p{L&}+?X/8
1014     AXY
1015 0: AX
1016     aXY
1017 0: aX
1018     AbcdeXyz
1019 0: AbcdeX
1020     \x{1c5}AbXY
1021 0: \x{1c5}AbX
1022     abcDEXypqreXlmn
1023 0: abcDEX
1024     ** Failers
1025No match
1026     \x{1bb}XY
1027No match
1028     \x{2b0}XY
1029No match
1030     !XY
1031No match
1032
1033/^[\p{L&}]+?X/8
1034     AXY
1035 0: AX
1036     aXY
1037 0: aX
1038     AbcdeXyz
1039 0: AbcdeX
1040     \x{1c5}AbXY
1041 0: \x{1c5}AbX
1042     abcDEXypqreXlmn
1043 0: abcDEX
1044     ** Failers
1045No match
1046     \x{1bb}XY
1047No match
1048     \x{2b0}XY
1049No match
1050     !XY
1051No match
1052
1053/^\P{L&}X/8
1054     !XY
1055 0: !X
1056     \x{1bb}XY
1057 0: \x{1bb}X
1058     \x{2b0}XY
1059 0: \x{2b0}X
1060     ** Failers
1061No match
1062     \x{1c5}XY
1063No match
1064     AXY
1065No match
1066
1067/^[\P{L&}]X/8
1068     !XY
1069 0: !X
1070     \x{1bb}XY
1071 0: \x{1bb}X
1072     \x{2b0}XY
1073 0: \x{2b0}X
1074     ** Failers
1075No match
1076     \x{1c5}XY
1077No match
1078     AXY
1079No match
1080
1081/^(\p{Z}[^\p{C}\p{Z}]+)*$/
1082    \xa0!
1083 0: \xa0!
1084 1: \xa0!
1085
1086/^[\pL](abc)(?1)/
1087    AabcabcYZ
1088 0: Aabcabc
1089 1: abc
1090
1091/([\pL]=(abc))*X/
1092    L=abcX
1093 0: L=abcX
1094 1: L=abc
1095 2: abc
1096
1097/^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
1098    \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
1099 0: \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
1100
1101/Check property support in non-UTF-8 mode/
1102
1103/\p{L}{4}/
1104    123abcdefg
1105 0: abcd
1106    123abc\xc4\xc5zz
1107 0: abc\xc4
1108
1109/\X{1,3}\d/
1110  \x8aBCD
1111No match
1112
1113/\X?\d/
1114  \x8aBCD
1115No match
1116
1117/\P{L}?\d/
1118  \x8aBCD
1119No match
1120
1121/[\PPP\x8a]{1,}\x80/
1122    A\x80
1123 0: A\x80
1124
1125/^[\p{Arabic}]/8
1126    \x{604}
1127 0: \x{604}
1128    \x{60e}
1129 0: \x{60e}
1130    \x{656}
1131 0: \x{656}
1132    \x{657}
1133 0: \x{657}
1134    \x{658}
1135 0: \x{658}
1136    \x{659}
1137 0: \x{659}
1138    \x{65a}
1139 0: \x{65a}
1140    \x{65b}
1141 0: \x{65b}
1142    \x{65c}
1143 0: \x{65c}
1144    \x{65d}
1145 0: \x{65d}
1146    \x{65e}
1147 0: \x{65e}
1148    \x{65f}
1149 0: \x{65f}
1150    \x{66a}
1151 0: \x{66a}
1152    \x{6e9}
1153 0: \x{6e9}
1154    \x{6ef}
1155 0: \x{6ef}
1156    \x{6fa}
1157 0: \x{6fa}
1158    ** Failers
1159No match
1160    \x{650}
1161No match
1162    \x{651}
1163No match
1164    \x{652}
1165No match
1166    \x{653}
1167No match
1168    \x{654}
1169No match
1170    \x{655}
1171No match
1172
1173/^\p{Cyrillic}/8
1174    \x{1d2b}
1175 0: \x{1d2b}
1176
1177/^\p{Common}/8
1178    \x{589}
1179 0: \x{589}
1180    \x{60c}
1181 0: \x{60c}
1182    \x{61f}
1183 0: \x{61f}
1184    \x{964}
1185 0: \x{964}
1186    \x{965}
1187 0: \x{965}
1188
1189/^\p{Inherited}/8
1190    \x{64b}
1191 0: \x{64b}
1192    \x{654}
1193 0: \x{654}
1194    \x{655}
1195 0: \x{655}
1196    \x{200c}
1197 0: \x{200c}
1198    ** Failers
1199No match
1200    \x{64a}
1201No match
1202    \x{656}
1203No match
1204
1205/^\p{Shavian}/8
1206    \x{10450}
1207 0: \x{10450}
1208    \x{1047f}
1209 0: \x{1047f}
1210
1211/^\p{Deseret}/8
1212    \x{10400}
1213 0: \x{10400}
1214    \x{1044f}
1215 0: \x{1044f}
1216
1217/^\p{Osmanya}/8
1218    \x{10480}
1219 0: \x{10480}
1220    \x{1049d}
1221 0: \x{1049d}
1222    \x{104a0}
1223 0: \x{104a0}
1224    \x{104a9}
1225 0: \x{104a9}
1226    ** Failers
1227No match
1228    \x{1049e}
1229No match
1230    \x{1049f}
1231No match
1232    \x{104aa}
1233No match
1234
1235/\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
1236    \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}====
1237 0: \x{102a4}\x{aa52}\x{a91d}\x{1c46}\x{10283}\x{1092e}\x{1c6b}\x{a93b}\x{a8bf}\x{1ba0}\x{a50a}
1238
1239/\x{a77d}\x{1d79}/8i
1240    \x{a77d}\x{1d79}
1241 0: \x{a77d}\x{1d79}
1242    \x{1d79}\x{a77d}
1243 0: \x{1d79}\x{a77d}
1244
1245/\x{a77d}\x{1d79}/8
1246    \x{a77d}\x{1d79}
1247 0: \x{a77d}\x{1d79}
1248    ** Failers
1249No match
1250    \x{1d79}\x{a77d}
1251No match
1252
1253/(A)\1/8i
1254    AA
1255 0: AA
1256 1: A
1257    Aa
1258 0: Aa
1259 1: A
1260    aa
1261 0: aa
1262 1: a
1263    aA
1264 0: aA
1265 1: a
1266
1267/(\x{10a})\1/8i
1268    \x{10a}\x{10a}
1269 0: \x{10a}\x{10a}
1270 1: \x{10a}
1271    \x{10a}\x{10b}
1272 0: \x{10a}\x{10b}
1273 1: \x{10a}
1274    \x{10b}\x{10b}
1275 0: \x{10b}\x{10b}
1276 1: \x{10b}
1277    \x{10b}\x{10a}
1278 0: \x{10b}\x{10a}
1279 1: \x{10b}
1280
1281/The next two tests are for property support in non-UTF-8 mode/
1282
1283/(?:\p{Lu}|\x20)+/
1284    \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
1285 0: A P\xc2T\xc9 TODAY
1286
1287/[\p{Lu}\x20]+/
1288    \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
1289 0: A P\xc2T\xc9 TODAY
1290
1291/\p{Avestan}\p{Bamum}\p{Egyptian_Hieroglyphs}\p{Imperial_Aramaic}\p{Inscriptional_Pahlavi}\p{Inscriptional_Parthian}\p{Javanese}\p{Kaithi}\p{Lisu}\p{Meetei_Mayek}\p{Old_South_Arabian}\p{Old_Turkic}\p{Samaritan}\p{Tai_Tham}\p{Tai_Viet}/8
1292    \x{10b00}\x{a6ef}\x{13007}\x{10857}\x{10b78}\x{10b58}\x{a980}\x{110c1}\x{a4ff}\x{abc0}\x{10a7d}\x{10c48}\x{0800}\x{1aad}\x{aac0}
1293 0: \x{10b00}\x{a6ef}\x{13007}\x{10857}\x{10b78}\x{10b58}\x{a980}\x{110c1}\x{a4ff}\x{abc0}\x{10a7d}\x{10c48}\x{800}\x{1aad}\x{aac0}
1294
1295/^\w+/8W
1296    Az_\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
1297 0: Az_\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
1298
1299/^[[:xdigit:]]*/8W
1300    1a\x{660}\x{bef}\x{16ee}
1301 0: 1a
1302
1303/^\d+/8W
1304    1\x{660}\x{bef}\x{16ee}
1305 0: 1\x{660}\x{bef}
1306
1307/^[[:digit:]]+/8W
1308    1\x{660}\x{bef}\x{16ee}
1309 0: 1\x{660}\x{bef}
1310
1311/^>\s+/8W
1312    >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
1313 0: > \x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{09}
1314
1315/^>\pZ+/8W
1316    >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
1317 0: > \x{a0}\x{1680}\x{2028}\x{2029}\x{202f}
1318
1319/^>[[:space:]]*/8W
1320    >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
1321 0: > \x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{09}\x{0b}
1322
1323/^>[[:blank:]]*/8W
1324    >\x{20}\x{a0}\x{1680}\x{180e}\x{2000}\x{202f}\x{9}\x{b}\x{2028}
1325 0: > \x{a0}\x{1680}\x{180e}\x{2000}\x{202f}\x{09}
1326
1327/^[[:alpha:]]*/8W
1328    Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}
1329 0: Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}
1330
1331/^[[:alnum:]]*/8W
1332    Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
1333 0: Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
1334
1335/^[[:cntrl:]]*/8W
1336    \x{0}\x{09}\x{1f}\x{7f}\x{9f}
1337 0: \x{00}\x{09}\x{1f}\x{7f}
1338
1339/^[[:graph:]]*/8W
1340    A\x{a1}\x{a0}
1341 0: A
1342
1343/^[[:print:]]*/8W
1344    A z\x{a0}\x{a1}
1345 0: A z
1346
1347/^[[:punct:]]*/8W
1348    .+\x{a1}\x{a0}
1349 0: .+
1350
1351/\p{Zs}*?\R/
1352    ** Failers
1353No match
1354    a\xFCb
1355No match
1356
1357/\p{Zs}*\R/
1358    ** Failers
1359No match
1360    a\xFCb
1361No match
1362
1363/ⱥ/8i
13641365 0: \x{2c65}
1366    Ⱥx
1367 0: \x{23a}
1368    Ⱥ
1369 0: \x{23a}
1370
1371/[ⱥ]/8i
13721373 0: \x{2c65}
1374    Ⱥx
1375 0: \x{23a}
1376    Ⱥ
1377 0: \x{23a}
1378
1379/Ⱥ/8i
1380    Ⱥ
1381 0: \x{23a}
13821383 0: \x{2c65}
1384
1385/-- These are tests for extended grapheme clusters --/
1386
1387/^\X/8+
1388    G\x{34e}\x{34e}X
1389 0: G\x{34e}\x{34e}
1390 0+ X
1391    \x{34e}\x{34e}X
1392 0: \x{34e}\x{34e}
1393 0+ X
1394    \x04X
1395 0: \x{04}
1396 0+ X
1397    \x{1100}X
1398 0: \x{1100}
1399 0+ X
1400    \x{1100}\x{34e}X
1401 0: \x{1100}\x{34e}
1402 0+ X
1403    \x{1b04}\x{1b04}X
1404 0: \x{1b04}\x{1b04}
1405 0+ X
1406    *These match up to the roman letters
1407 0: *
1408 0+ These match up to the roman letters
1409    \x{1111}\x{1111}L,L
1410 0: \x{1111}\x{1111}
1411 0+ L,L
1412    \x{1111}\x{1111}\x{1169}L,L,V
1413 0: \x{1111}\x{1111}\x{1169}
1414 0+ L,L,V
1415    \x{1111}\x{ae4c}L, LV
1416 0: \x{1111}\x{ae4c}
1417 0+ L, LV
1418    \x{1111}\x{ad89}L, LVT
1419 0: \x{1111}\x{ad89}
1420 0+ L, LVT
1421    \x{1111}\x{ae4c}\x{1169}L, LV, V
1422 0: \x{1111}\x{ae4c}\x{1169}
1423 0+ L, LV, V
1424    \x{1111}\x{ae4c}\x{1169}\x{1169}L, LV, V, V
1425 0: \x{1111}\x{ae4c}\x{1169}\x{1169}
1426 0+ L, LV, V, V
1427    \x{1111}\x{ae4c}\x{1169}\x{11fe}L, LV, V, T
1428 0: \x{1111}\x{ae4c}\x{1169}\x{11fe}
1429 0+ L, LV, V, T
1430    \x{1111}\x{ad89}\x{11fe}L, LVT, T
1431 0: \x{1111}\x{ad89}\x{11fe}
1432 0+ L, LVT, T
1433    \x{1111}\x{ad89}\x{11fe}\x{11fe}L, LVT, T, T
1434 0: \x{1111}\x{ad89}\x{11fe}\x{11fe}
1435 0+ L, LVT, T, T
1436    \x{ad89}\x{11fe}\x{11fe}LVT, T, T
1437 0: \x{ad89}\x{11fe}\x{11fe}
1438 0+ LVT, T, T
1439    *These match just the first codepoint (invalid sequence)
1440 0: *
1441 0+ These match just the first codepoint (invalid sequence)
1442    \x{1111}\x{11fe}L, T
1443 0: \x{1111}
1444 0+ \x{11fe}L, T
1445    \x{ae4c}\x{1111}LV, L
1446 0: \x{ae4c}
1447 0+ \x{1111}LV, L
1448    \x{ae4c}\x{ae4c}LV, LV
1449 0: \x{ae4c}
1450 0+ \x{ae4c}LV, LV
1451    \x{ae4c}\x{ad89}LV, LVT
1452 0: \x{ae4c}
1453 0+ \x{ad89}LV, LVT
1454    \x{1169}\x{1111}V, L
1455 0: \x{1169}
1456 0+ \x{1111}V, L
1457    \x{1169}\x{ae4c}V, LV
1458 0: \x{1169}
1459 0+ \x{ae4c}V, LV
1460    \x{1169}\x{ad89}V, LVT
1461 0: \x{1169}
1462 0+ \x{ad89}V, LVT
1463    \x{ad89}\x{1111}LVT, L
1464 0: \x{ad89}
1465 0+ \x{1111}LVT, L
1466    \x{ad89}\x{1169}LVT, V
1467 0: \x{ad89}
1468 0+ \x{1169}LVT, V
1469    \x{ad89}\x{ae4c}LVT, LV
1470 0: \x{ad89}
1471 0+ \x{ae4c}LVT, LV
1472    \x{ad89}\x{ad89}LVT, LVT
1473 0: \x{ad89}
1474 0+ \x{ad89}LVT, LVT
1475    \x{11fe}\x{1111}T, L
1476 0: \x{11fe}
1477 0+ \x{1111}T, L
1478    \x{11fe}\x{1169}T, V
1479 0: \x{11fe}
1480 0+ \x{1169}T, V
1481    \x{11fe}\x{ae4c}T, LV
1482 0: \x{11fe}
1483 0+ \x{ae4c}T, LV
1484    \x{11fe}\x{ad89}T, LVT
1485 0: \x{11fe}
1486 0+ \x{ad89}T, LVT
1487    *Test extend and spacing mark
1488 0: *
1489 0+ Test extend and spacing mark
1490    \x{1111}\x{ae4c}\x{0711}L, LV, extend
1491 0: \x{1111}\x{ae4c}\x{711}
1492 0+ L, LV, extend
1493    \x{1111}\x{ae4c}\x{1b04}L, LV, spacing mark
1494 0: \x{1111}\x{ae4c}\x{1b04}
1495 0+ L, LV, spacing mark
1496    \x{1111}\x{ae4c}\x{1b04}\x{0711}\x{1b04}L, LV, spacing mark, extend, spacing mark
1497 0: \x{1111}\x{ae4c}\x{1b04}\x{711}\x{1b04}
1498 0+ L, LV, spacing mark, extend, spacing mark
1499    *Test CR, LF, and control
1500 0: *
1501 0+ Test CR, LF, and control
1502    \x0d\x{0711}CR, extend
1503 0: \x{0d}
1504 0+ \x{711}CR, extend
1505    \x0d\x{1b04}CR, spacingmark
1506 0: \x{0d}
1507 0+ \x{1b04}CR, spacingmark
1508    \x0a\x{0711}LF, extend
1509 0: \x{0a}
1510 0+ \x{711}LF, extend
1511    \x0a\x{1b04}LF, spacingmark
1512 0: \x{0a}
1513 0+ \x{1b04}LF, spacingmark
1514    \x0b\x{0711}Control, extend
1515 0: \x{0b}
1516 0+ \x{711}Control, extend
1517    \x09\x{1b04}Control, spacingmark
1518 0: \x{09}
1519 0+ \x{1b04}Control, spacingmark
1520    *There are no Prepend characters, so we can't test Prepend, CR
1521 0: *
1522 0+ There are no Prepend characters, so we can't test Prepend, CR
1523
1524/^(?>\X{2})X/8+
1525    \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1526 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1527 0+
1528
1529/^\X{2,4}X/8+
1530    \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1531 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1532 0+
1533    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1534 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1535 0+
1536    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1537 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1538 0+
1539
1540/^\X{2,4}?X/8+
1541    \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1542 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1543 0+
1544    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1545 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1546 0+
1547    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1548 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
1549 0+
1550
1551/-- --/
1552
1553/\x{1e9e}+/8i
1554    \x{1e9e}\x{00df}
1555 0: \x{1e9e}\x{df}
1556
1557/[z\x{1e9e}]+/8i
1558    \x{1e9e}\x{00df}
1559 0: \x{1e9e}\x{df}
1560
1561/\x{00df}+/8i
1562    \x{1e9e}\x{00df}
1563 0: \x{1e9e}\x{df}
1564
1565/[z\x{00df}]+/8i
1566    \x{1e9e}\x{00df}
1567 0: \x{1e9e}\x{df}
1568
1569/\x{1f88}+/8i
1570    \x{1f88}\x{1f80}
1571 0: \x{1f88}\x{1f80}
1572
1573/[z\x{1f88}]+/8i
1574    \x{1f88}\x{1f80}
1575 0: \x{1f88}\x{1f80}
1576
1577/-- Characters with more than one other case; test in classes --/
1578
1579/[z\x{00b5}]+/8i
1580    \x{00b5}\x{039c}\x{03bc}
1581 0: \x{b5}\x{39c}\x{3bc}
1582
1583/[z\x{039c}]+/8i
1584    \x{00b5}\x{039c}\x{03bc}
1585 0: \x{b5}\x{39c}\x{3bc}
1586
1587/[z\x{03bc}]+/8i
1588    \x{00b5}\x{039c}\x{03bc}
1589 0: \x{b5}\x{39c}\x{3bc}
1590
1591/[z\x{00c5}]+/8i
1592    \x{00c5}\x{00e5}\x{212b}
1593 0: \x{c5}\x{e5}\x{212b}
1594
1595/[z\x{00e5}]+/8i
1596    \x{00c5}\x{00e5}\x{212b}
1597 0: \x{c5}\x{e5}\x{212b}
1598
1599/[z\x{212b}]+/8i
1600    \x{00c5}\x{00e5}\x{212b}
1601 0: \x{c5}\x{e5}\x{212b}
1602
1603/[z\x{01c4}]+/8i
1604    \x{01c4}\x{01c5}\x{01c6}
1605 0: \x{1c4}\x{1c5}\x{1c6}
1606
1607/[z\x{01c5}]+/8i
1608    \x{01c4}\x{01c5}\x{01c6}
1609 0: \x{1c4}\x{1c5}\x{1c6}
1610
1611/[z\x{01c6}]+/8i
1612    \x{01c4}\x{01c5}\x{01c6}
1613 0: \x{1c4}\x{1c5}\x{1c6}
1614
1615/[z\x{01c7}]+/8i
1616    \x{01c7}\x{01c8}\x{01c9}
1617 0: \x{1c7}\x{1c8}\x{1c9}
1618
1619/[z\x{01c8}]+/8i
1620    \x{01c7}\x{01c8}\x{01c9}
1621 0: \x{1c7}\x{1c8}\x{1c9}
1622
1623/[z\x{01c9}]+/8i
1624    \x{01c7}\x{01c8}\x{01c9}
1625 0: \x{1c7}\x{1c8}\x{1c9}
1626
1627/[z\x{01ca}]+/8i
1628    \x{01ca}\x{01cb}\x{01cc}
1629 0: \x{1ca}\x{1cb}\x{1cc}
1630
1631/[z\x{01cb}]+/8i
1632    \x{01ca}\x{01cb}\x{01cc}
1633 0: \x{1ca}\x{1cb}\x{1cc}
1634
1635/[z\x{01cc}]+/8i
1636    \x{01ca}\x{01cb}\x{01cc}
1637 0: \x{1ca}\x{1cb}\x{1cc}
1638
1639/[z\x{01f1}]+/8i
1640    \x{01f1}\x{01f2}\x{01f3}
1641 0: \x{1f1}\x{1f2}\x{1f3}
1642
1643/[z\x{01f2}]+/8i
1644    \x{01f1}\x{01f2}\x{01f3}
1645 0: \x{1f1}\x{1f2}\x{1f3}
1646
1647/[z\x{01f3}]+/8i
1648    \x{01f1}\x{01f2}\x{01f3}
1649 0: \x{1f1}\x{1f2}\x{1f3}
1650
1651/[z\x{0345}]+/8i
1652    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1653 0: \x{345}\x{399}\x{3b9}\x{1fbe}
1654
1655/[z\x{0399}]+/8i
1656    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1657 0: \x{345}\x{399}\x{3b9}\x{1fbe}
1658
1659/[z\x{03b9}]+/8i
1660    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1661 0: \x{345}\x{399}\x{3b9}\x{1fbe}
1662
1663/[z\x{1fbe}]+/8i
1664    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1665 0: \x{345}\x{399}\x{3b9}\x{1fbe}
1666
1667/[z\x{0392}]+/8i
1668    \x{0392}\x{03b2}\x{03d0}
1669 0: \x{392}\x{3b2}\x{3d0}
1670
1671/[z\x{03b2}]+/8i
1672    \x{0392}\x{03b2}\x{03d0}
1673 0: \x{392}\x{3b2}\x{3d0}
1674
1675/[z\x{03d0}]+/8i
1676    \x{0392}\x{03b2}\x{03d0}
1677 0: \x{392}\x{3b2}\x{3d0}
1678
1679/[z\x{0395}]+/8i
1680    \x{0395}\x{03b5}\x{03f5}
1681 0: \x{395}\x{3b5}\x{3f5}
1682
1683/[z\x{03b5}]+/8i
1684    \x{0395}\x{03b5}\x{03f5}
1685 0: \x{395}\x{3b5}\x{3f5}
1686
1687/[z\x{03f5}]+/8i
1688    \x{0395}\x{03b5}\x{03f5}
1689 0: \x{395}\x{3b5}\x{3f5}
1690
1691/[z\x{0398}]+/8i
1692    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1693 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
1694
1695/[z\x{03b8}]+/8i
1696    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1697 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
1698
1699/[z\x{03d1}]+/8i
1700    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1701 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
1702
1703/[z\x{03f4}]+/8i
1704    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1705 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
1706
1707/[z\x{039a}]+/8i
1708    \x{039a}\x{03ba}\x{03f0}
1709 0: \x{39a}\x{3ba}\x{3f0}
1710
1711/[z\x{03ba}]+/8i
1712    \x{039a}\x{03ba}\x{03f0}
1713 0: \x{39a}\x{3ba}\x{3f0}
1714
1715/[z\x{03f0}]+/8i
1716    \x{039a}\x{03ba}\x{03f0}
1717 0: \x{39a}\x{3ba}\x{3f0}
1718
1719/[z\x{03a0}]+/8i
1720    \x{03a0}\x{03c0}\x{03d6}
1721 0: \x{3a0}\x{3c0}\x{3d6}
1722
1723/[z\x{03c0}]+/8i
1724    \x{03a0}\x{03c0}\x{03d6}
1725 0: \x{3a0}\x{3c0}\x{3d6}
1726
1727/[z\x{03d6}]+/8i
1728    \x{03a0}\x{03c0}\x{03d6}
1729 0: \x{3a0}\x{3c0}\x{3d6}
1730
1731/[z\x{03a1}]+/8i
1732    \x{03a1}\x{03c1}\x{03f1}
1733 0: \x{3a1}\x{3c1}\x{3f1}
1734
1735/[z\x{03c1}]+/8i
1736    \x{03a1}\x{03c1}\x{03f1}
1737 0: \x{3a1}\x{3c1}\x{3f1}
1738
1739/[z\x{03f1}]+/8i
1740    \x{03a1}\x{03c1}\x{03f1}
1741 0: \x{3a1}\x{3c1}\x{3f1}
1742
1743/[z\x{03a3}]+/8i
1744    \x{03A3}\x{03C2}\x{03C3}
1745 0: \x{3a3}\x{3c2}\x{3c3}
1746
1747/[z\x{03c2}]+/8i
1748    \x{03A3}\x{03C2}\x{03C3}
1749 0: \x{3a3}\x{3c2}\x{3c3}
1750
1751/[z\x{03c3}]+/8i
1752    \x{03A3}\x{03C2}\x{03C3}
1753 0: \x{3a3}\x{3c2}\x{3c3}
1754
1755/[z\x{03a6}]+/8i
1756    \x{03a6}\x{03c6}\x{03d5}
1757 0: \x{3a6}\x{3c6}\x{3d5}
1758
1759/[z\x{03c6}]+/8i
1760    \x{03a6}\x{03c6}\x{03d5}
1761 0: \x{3a6}\x{3c6}\x{3d5}
1762
1763/[z\x{03d5}]+/8i
1764    \x{03a6}\x{03c6}\x{03d5}
1765 0: \x{3a6}\x{3c6}\x{3d5}
1766
1767/[z\x{03c9}]+/8i
1768    \x{03c9}\x{03a9}\x{2126}
1769 0: \x{3c9}\x{3a9}\x{2126}
1770
1771/[z\x{03a9}]+/8i
1772    \x{03c9}\x{03a9}\x{2126}
1773 0: \x{3c9}\x{3a9}\x{2126}
1774
1775/[z\x{2126}]+/8i
1776    \x{03c9}\x{03a9}\x{2126}
1777 0: \x{3c9}\x{3a9}\x{2126}
1778
1779/[z\x{1e60}]+/8i
1780    \x{1e60}\x{1e61}\x{1e9b}
1781 0: \x{1e60}\x{1e61}\x{1e9b}
1782
1783/[z\x{1e61}]+/8i
1784    \x{1e60}\x{1e61}\x{1e9b}
1785 0: \x{1e60}\x{1e61}\x{1e9b}
1786
1787/[z\x{1e9b}]+/8i
1788    \x{1e60}\x{1e61}\x{1e9b}
1789 0: \x{1e60}\x{1e61}\x{1e9b}
1790
1791/-- Perl 5.12.4 gets these wrong, but 5.15.3 is OK --/
1792
1793/[z\x{004b}]+/8i
1794    \x{004b}\x{006b}\x{212a}
1795 0: Kk\x{212a}
1796
1797/[z\x{006b}]+/8i
1798    \x{004b}\x{006b}\x{212a}
1799 0: Kk\x{212a}
1800
1801/[z\x{212a}]+/8i
1802    \x{004b}\x{006b}\x{212a}
1803 0: Kk\x{212a}
1804
1805/[z\x{0053}]+/8i
1806    \x{0053}\x{0073}\x{017f}
1807 0: Ss\x{17f}
1808
1809/[z\x{0073}]+/8i
1810    \x{0053}\x{0073}\x{017f}
1811 0: Ss\x{17f}
1812
1813/[z\x{017f}]+/8i
1814    \x{0053}\x{0073}\x{017f}
1815 0: Ss\x{17f}
1816
1817/-- --/
1818
1819/(ΣΆΜΟΣ) \1/8i
1820    ΣΆΜΟΣ ΣΆΜΟΣ
1821 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3} \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1822 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1823    ΣΆΜΟΣ σάμος
1824 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1825 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1826    σάμος σάμος
1827 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1828 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1829    σάμος σάμοσ
1830 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c3}
1831 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1832    σάμος ΣΆΜΟΣ
1833 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1834 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1835
1836/(σάμος) \1/8i
1837    ΣΆΜΟΣ ΣΆΜΟΣ
1838 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3} \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1839 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1840    ΣΆΜΟΣ σάμος
1841 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1842 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1843    σάμος σάμος
1844 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1845 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1846    σάμος σάμοσ
1847 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c3}
1848 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1849    σάμος ΣΆΜΟΣ
1850 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1851 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1852
1853/(ΣΆΜΟΣ) \1*/8i
1854    ΣΆΜΟΣ\x20
1855 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1856 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1857    ΣΆΜΟΣ ΣΆΜΟΣσάμοςσάμος
1858 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3} \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}\x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}\x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
1859 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
1860
1861/-- Perl matches these --/
1862
1863/\x{00b5}+/8i
1864    \x{00b5}\x{039c}\x{03bc}
1865 0: \x{b5}\x{39c}\x{3bc}
1866
1867/\x{039c}+/8i
1868    \x{00b5}\x{039c}\x{03bc}
1869 0: \x{b5}\x{39c}\x{3bc}
1870
1871/\x{03bc}+/8i
1872    \x{00b5}\x{039c}\x{03bc}
1873 0: \x{b5}\x{39c}\x{3bc}
1874
1875
1876/\x{00c5}+/8i
1877    \x{00c5}\x{00e5}\x{212b}
1878 0: \x{c5}\x{e5}\x{212b}
1879
1880/\x{00e5}+/8i
1881    \x{00c5}\x{00e5}\x{212b}
1882 0: \x{c5}\x{e5}\x{212b}
1883
1884/\x{212b}+/8i
1885    \x{00c5}\x{00e5}\x{212b}
1886 0: \x{c5}\x{e5}\x{212b}
1887
1888
1889/\x{01c4}+/8i
1890    \x{01c4}\x{01c5}\x{01c6}
1891 0: \x{1c4}\x{1c5}\x{1c6}
1892
1893/\x{01c5}+/8i
1894    \x{01c4}\x{01c5}\x{01c6}
1895 0: \x{1c4}\x{1c5}\x{1c6}
1896
1897/\x{01c6}+/8i
1898    \x{01c4}\x{01c5}\x{01c6}
1899 0: \x{1c4}\x{1c5}\x{1c6}
1900
1901
1902/\x{01c7}+/8i
1903    \x{01c7}\x{01c8}\x{01c9}
1904 0: \x{1c7}\x{1c8}\x{1c9}
1905
1906/\x{01c8}+/8i
1907    \x{01c7}\x{01c8}\x{01c9}
1908 0: \x{1c7}\x{1c8}\x{1c9}
1909
1910/\x{01c9}+/8i
1911    \x{01c7}\x{01c8}\x{01c9}
1912 0: \x{1c7}\x{1c8}\x{1c9}
1913
1914
1915/\x{01ca}+/8i
1916    \x{01ca}\x{01cb}\x{01cc}
1917 0: \x{1ca}\x{1cb}\x{1cc}
1918
1919/\x{01cb}+/8i
1920    \x{01ca}\x{01cb}\x{01cc}
1921 0: \x{1ca}\x{1cb}\x{1cc}
1922
1923/\x{01cc}+/8i
1924    \x{01ca}\x{01cb}\x{01cc}
1925 0: \x{1ca}\x{1cb}\x{1cc}
1926
1927
1928/\x{01f1}+/8i
1929    \x{01f1}\x{01f2}\x{01f3}
1930 0: \x{1f1}\x{1f2}\x{1f3}
1931
1932/\x{01f2}+/8i
1933    \x{01f1}\x{01f2}\x{01f3}
1934 0: \x{1f1}\x{1f2}\x{1f3}
1935
1936/\x{01f3}+/8i
1937    \x{01f1}\x{01f2}\x{01f3}
1938 0: \x{1f1}\x{1f2}\x{1f3}
1939
1940
1941/\x{0345}+/8i
1942    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1943 0: \x{345}\x{399}\x{3b9}\x{1fbe}
1944
1945/\x{0399}+/8i
1946    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1947 0: \x{345}\x{399}\x{3b9}\x{1fbe}
1948
1949/\x{03b9}+/8i
1950    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1951 0: \x{345}\x{399}\x{3b9}\x{1fbe}
1952
1953/\x{1fbe}+/8i
1954    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1955 0: \x{345}\x{399}\x{3b9}\x{1fbe}
1956
1957
1958/\x{0392}+/8i
1959    \x{0392}\x{03b2}\x{03d0}
1960 0: \x{392}\x{3b2}\x{3d0}
1961
1962/\x{03b2}+/8i
1963    \x{0392}\x{03b2}\x{03d0}
1964 0: \x{392}\x{3b2}\x{3d0}
1965
1966/\x{03d0}+/8i
1967    \x{0392}\x{03b2}\x{03d0}
1968 0: \x{392}\x{3b2}\x{3d0}
1969
1970
1971/\x{0395}+/8i
1972    \x{0395}\x{03b5}\x{03f5}
1973 0: \x{395}\x{3b5}\x{3f5}
1974
1975/\x{03b5}+/8i
1976    \x{0395}\x{03b5}\x{03f5}
1977 0: \x{395}\x{3b5}\x{3f5}
1978
1979/\x{03f5}+/8i
1980    \x{0395}\x{03b5}\x{03f5}
1981 0: \x{395}\x{3b5}\x{3f5}
1982
1983
1984/\x{0398}+/8i
1985    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1986 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
1987
1988/\x{03b8}+/8i
1989    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1990 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
1991
1992/\x{03d1}+/8i
1993    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1994 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
1995
1996/\x{03f4}+/8i
1997    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1998 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
1999
2000
2001/\x{039a}+/8i
2002    \x{039a}\x{03ba}\x{03f0}
2003 0: \x{39a}\x{3ba}\x{3f0}
2004
2005/\x{03ba}+/8i
2006    \x{039a}\x{03ba}\x{03f0}
2007 0: \x{39a}\x{3ba}\x{3f0}
2008
2009/\x{03f0}+/8i
2010    \x{039a}\x{03ba}\x{03f0}
2011 0: \x{39a}\x{3ba}\x{3f0}
2012
2013
2014/\x{03a0}+/8i
2015    \x{03a0}\x{03c0}\x{03d6}
2016 0: \x{3a0}\x{3c0}\x{3d6}
2017
2018/\x{03c0}+/8i
2019    \x{03a0}\x{03c0}\x{03d6}
2020 0: \x{3a0}\x{3c0}\x{3d6}
2021
2022/\x{03d6}+/8i
2023    \x{03a0}\x{03c0}\x{03d6}
2024 0: \x{3a0}\x{3c0}\x{3d6}
2025
2026
2027/\x{03a1}+/8i
2028    \x{03a1}\x{03c1}\x{03f1}
2029 0: \x{3a1}\x{3c1}\x{3f1}
2030
2031/\x{03c1}+/8i
2032    \x{03a1}\x{03c1}\x{03f1}
2033 0: \x{3a1}\x{3c1}\x{3f1}
2034
2035/\x{03f1}+/8i
2036    \x{03a1}\x{03c1}\x{03f1}
2037 0: \x{3a1}\x{3c1}\x{3f1}
2038
2039
2040/\x{03a3}+/8i
2041    \x{03A3}\x{03C2}\x{03C3}
2042 0: \x{3a3}\x{3c2}\x{3c3}
2043
2044/\x{03c2}+/8i
2045    \x{03A3}\x{03C2}\x{03C3}
2046 0: \x{3a3}\x{3c2}\x{3c3}
2047
2048/\x{03c3}+/8i
2049    \x{03A3}\x{03C2}\x{03C3}
2050 0: \x{3a3}\x{3c2}\x{3c3}
2051
2052
2053/\x{03a6}+/8i
2054    \x{03a6}\x{03c6}\x{03d5}
2055 0: \x{3a6}\x{3c6}\x{3d5}
2056
2057/\x{03c6}+/8i
2058    \x{03a6}\x{03c6}\x{03d5}
2059 0: \x{3a6}\x{3c6}\x{3d5}
2060
2061/\x{03d5}+/8i
2062    \x{03a6}\x{03c6}\x{03d5}
2063 0: \x{3a6}\x{3c6}\x{3d5}
2064
2065
2066/\x{03c9}+/8i
2067    \x{03c9}\x{03a9}\x{2126}
2068 0: \x{3c9}\x{3a9}\x{2126}
2069
2070/\x{03a9}+/8i
2071    \x{03c9}\x{03a9}\x{2126}
2072 0: \x{3c9}\x{3a9}\x{2126}
2073
2074/\x{2126}+/8i
2075    \x{03c9}\x{03a9}\x{2126}
2076 0: \x{3c9}\x{3a9}\x{2126}
2077
2078
2079/\x{1e60}+/8i
2080    \x{1e60}\x{1e61}\x{1e9b}
2081 0: \x{1e60}\x{1e61}\x{1e9b}
2082
2083/\x{1e61}+/8i
2084    \x{1e60}\x{1e61}\x{1e9b}
2085 0: \x{1e60}\x{1e61}\x{1e9b}
2086
2087/\x{1e9b}+/8i
2088    \x{1e60}\x{1e61}\x{1e9b}
2089 0: \x{1e60}\x{1e61}\x{1e9b}
2090
2091
2092/\x{1e9e}+/8i
2093    \x{1e9e}\x{00df}
2094 0: \x{1e9e}\x{df}
2095
2096/\x{00df}+/8i
2097    \x{1e9e}\x{00df}
2098 0: \x{1e9e}\x{df}
2099
2100
2101/\x{1f88}+/8i
2102    \x{1f88}\x{1f80}
2103 0: \x{1f88}\x{1f80}
2104
2105/\x{1f80}+/8i
2106    \x{1f88}\x{1f80}
2107 0: \x{1f88}\x{1f80}
2108
2109
2110/-- Perl 5.12.4 gets these wrong, but 5.15.3 is OK --/
2111
2112/\x{004b}+/8i
2113    \x{004b}\x{006b}\x{212a}
2114 0: Kk\x{212a}
2115
2116/\x{006b}+/8i
2117    \x{004b}\x{006b}\x{212a}
2118 0: Kk\x{212a}
2119
2120/\x{212a}+/8i
2121    \x{004b}\x{006b}\x{212a}
2122 0: Kk\x{212a}
2123
2124
2125/\x{0053}+/8i
2126    \x{0053}\x{0073}\x{017f}
2127 0: Ss\x{17f}
2128
2129/\x{0073}+/8i
2130    \x{0053}\x{0073}\x{017f}
2131 0: Ss\x{17f}
2132
2133/\x{017f}+/8i
2134    \x{0053}\x{0073}\x{017f}
2135 0: Ss\x{17f}
2136
2137/-- End of testinput6 --/
2138