xref: /PHP-5.6/ext/pcre/pcrelib/testdata/testinput6 (revision ca02d9c2)
1/-- This set of tests is for Unicode property support. It is compatible with
2    Perl >= 5.15. --/
3
4< forbid 9?=ABCDEFfGILMNPTUXZ<
5
6/^\pC\pL\pM\pN\pP\pS\pZ</8
7    \x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
8    \np\x{300}9!\$ <
9    ** Failers
10    ap\x{300}9!\$ <
11
12/^\PC/8
13    X
14    ** Failers
15    \x7f
16
17/^\PL/8
18    9
19    ** Failers
20    \x{c0}
21
22/^\PM/8
23    X
24    ** Failers
25    \x{30f}
26
27/^\PN/8
28    X
29    ** Failers
30    \x{660}
31
32/^\PP/8
33    X
34    ** Failers
35    \x{66c}
36
37/^\PS/8
38    X
39    ** Failers
40    \x{f01}
41
42/^\PZ/8
43    X
44    ** Failers
45    \x{1680}
46
47/^\p{Cc}/8
48    \x{017}
49    \x{09f}
50    ** Failers
51    \x{0600}
52
53/^\p{Cf}/8
54    \x{601}
55    ** Failers
56    \x{09f}
57
58/^\p{Cn}/8
59    \x{e0000}
60    ** Failers
61    \x{09f}
62
63/^\p{Co}/8
64    \x{f8ff}
65    ** Failers
66    \x{09f}
67
68/^\p{Ll}/8
69    a
70    ** Failers
71    Z
72    \x{e000}
73
74/^\p{Lm}/8
75    \x{2b0}
76    ** Failers
77    a
78
79/^\p{Lo}/8
80    \x{1bb}
81    \x{3400}
82    \x{3401}
83    \x{4d00}
84    \x{4db4}
85    \x{4db5}
86    ** Failers
87    a
88    \x{2b0}
89    \x{4db6}
90
91/^\p{Lt}/8
92    \x{1c5}
93    ** Failers
94    a
95    \x{2b0}
96
97/^\p{Lu}/8
98    A
99    ** Failers
100    \x{2b0}
101
102/^\p{Mc}/8
103    \x{903}
104    ** Failers
105    X
106    \x{300}
107
108/^\p{Me}/8
109    \x{488}
110    ** Failers
111    X
112    \x{903}
113    \x{300}
114
115/^\p{Mn}/8
116    \x{300}
117    ** Failers
118    X
119    \x{903}
120
121/^\p{Nd}+/8
122    0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}\x{66a}
123    \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}\x{6fa}
124    \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}\x{970}
125    ** Failers
126    X
127
128/^\p{Nl}/8
129    \x{16ee}
130    ** Failers
131    X
132    \x{966}
133
134/^\p{No}/8
135    \x{b2}
136    \x{b3}
137    ** Failers
138    X
139    \x{16ee}
140
141/^\p{Pc}/8
142    \x5f
143    \x{203f}
144    ** Failers
145    X
146    -
147    \x{58a}
148
149/^\p{Pd}/8
150    -
151    \x{58a}
152    ** Failers
153    X
154    \x{203f}
155
156/^\p{Pe}/8
157    )
158    ]
159    }
160    \x{f3b}
161    ** Failers
162    X
163    \x{203f}
164    (
165    [
166    {
167    \x{f3c}
168
169/^\p{Pf}/8
170    \x{bb}
171    \x{2019}
172    ** Failers
173    X
174    \x{203f}
175
176/^\p{Pi}/8
177    \x{ab}
178    \x{2018}
179    ** Failers
180    X
181    \x{203f}
182
183/^\p{Po}/8
184    !
185    \x{37e}
186    ** Failers
187    X
188    \x{203f}
189
190/^\p{Ps}/8
191    (
192    [
193    {
194    \x{f3c}
195    ** Failers
196    X
197    )
198    ]
199    }
200    \x{f3b}
201
202/^\p{Sk}/8
203    \x{2c2}
204    ** Failers
205    X
206    \x{9f2}
207
208/^\p{Sm}+/8
209    +<|~\x{ac}\x{2044}
210    ** Failers
211    X
212    \x{9f2}
213
214/^\p{So}/8
215    \x{a6}
216    \x{482}
217    ** Failers
218    X
219    \x{9f2}
220
221/^\p{Zl}/8
222    \x{2028}
223    ** Failers
224    X
225    \x{2029}
226
227/^\p{Zp}/8
228    \x{2029}
229    ** Failers
230    X
231    \x{2028}
232
233/\p{Nd}+(..)/8
234      \x{660}\x{661}\x{662}ABC
235
236/\p{Nd}+?(..)/8
237      \x{660}\x{661}\x{662}ABC
238
239/\p{Nd}{2,}(..)/8
240      \x{660}\x{661}\x{662}ABC
241
242/\p{Nd}{2,}?(..)/8
243      \x{660}\x{661}\x{662}ABC
244
245/\p{Nd}*(..)/8
246      \x{660}\x{661}\x{662}ABC
247
248/\p{Nd}*?(..)/8
249      \x{660}\x{661}\x{662}ABC
250
251/\p{Nd}{2}(..)/8
252      \x{660}\x{661}\x{662}ABC
253
254/\p{Nd}{2,3}(..)/8
255      \x{660}\x{661}\x{662}ABC
256
257/\p{Nd}{2,3}?(..)/8
258      \x{660}\x{661}\x{662}ABC
259
260/\p{Nd}?(..)/8
261      \x{660}\x{661}\x{662}ABC
262
263/\p{Nd}??(..)/8
264      \x{660}\x{661}\x{662}ABC
265
266/\p{Nd}*+(..)/8
267      \x{660}\x{661}\x{662}ABC
268
269/\p{Nd}*+(...)/8
270      \x{660}\x{661}\x{662}ABC
271
272/\p{Nd}*+(....)/8
273      ** Failers
274      \x{660}\x{661}\x{662}ABC
275
276/(?<=A\p{Nd})XYZ/8
277    A2XYZ
278    123A5XYZPQR
279    ABA\x{660}XYZpqr
280    ** Failers
281    AXYZ
282    XYZ
283
284/(?<!\pL)XYZ/8
285    1XYZ
286    AB=XYZ..
287    XYZ
288    ** Failers
289    WXYZ
290
291/[\P{Nd}]+/8
292    abcd
293    ** Failers
294    1234
295
296/\D+/8
297    11111111111111111111111111111111111111111111111111111111111111111111111
298    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
299
300/\P{Nd}+/8
301    11111111111111111111111111111111111111111111111111111111111111111111111
302    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
303
304/[\D]+/8
305    11111111111111111111111111111111111111111111111111111111111111111111111
306    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
307
308/[\P{Nd}]+/8
309    11111111111111111111111111111111111111111111111111111111111111111111111
310    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
311
312/[\D\P{Nd}]+/8
313    11111111111111111111111111111111111111111111111111111111111111111111111
314    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
315
316/\pL/8
317    a
318    A
319
320/\pL/8i
321    a
322    A
323
324/\p{Lu}/8
325    A
326    aZ
327    ** Failers
328    abc
329
330/\p{Ll}/8
331    a
332    Az
333    ** Failers
334    ABC
335
336/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8
337    A\x{391}\x{10427}\x{ff3a}\x{1fb0}
338    ** Failers
339    a\x{391}\x{10427}\x{ff3a}\x{1fb0}
340    A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
341    A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
342    A\x{391}\x{10427}\x{ff5a}\x{1fb0}
343    A\x{391}\x{10427}\x{ff3a}\x{1fb8}
344
345/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8i
346    A\x{391}\x{10427}\x{ff3a}\x{1fb0}
347    a\x{391}\x{10427}\x{ff3a}\x{1fb0}
348    A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
349    A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
350    A\x{391}\x{10427}\x{ff5a}\x{1fb0}
351    A\x{391}\x{10427}\x{ff3a}\x{1fb8}
352
353/\x{391}+/8i
354    \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
355
356/\x{391}{3,5}(.)/8i
357    \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
358
359/\x{391}{3,5}?(.)/8i
360    \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
361
362/[\x{391}\x{ff3a}]/8i
363    \x{391}
364    \x{ff3a}
365    \x{3b1}
366    \x{ff5a}
367
368/^[\X]/8
369    X123
370    *** Failers
371    AXYZ
372
373/^(\X*)C/8
374    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
375    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
376
377/^(\X*?)C/8
378    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
379    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
380
381/^(\X*)(.)/8
382    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
383    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
384
385/^(\X*?)(.)/8
386    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
387    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
388
389/^\X(.)/8
390    *** Failers
391    A\x{300}\x{301}\x{302}
392
393/^\X{2,3}(.)/8
394    A\x{300}\x{301}B\x{300}X
395    A\x{300}\x{301}B\x{300}C\x{300}\x{301}
396    A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
397    A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
398
399/^\X{2,3}?(.)/8
400    A\x{300}\x{301}B\x{300}X
401    A\x{300}\x{301}B\x{300}C\x{300}\x{301}
402    A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
403    A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
404
405/^\X/8
406    A
407    A\x{300}BC
408    A\x{300}\x{301}\x{302}BC
409    \x{300}
410
411/^\p{Han}+/8
412    \x{2e81}\x{3007}\x{2f804}\x{31a0}
413    ** Failers
414    \x{2e7f}
415
416/^\P{Katakana}+/8
417    \x{3105}
418    ** Failers
419    \x{30ff}
420
421/^[\p{Arabic}]/8
422    \x{06e9}
423    \x{060b}
424    ** Failers
425    \x{061c}
426    X\x{06e9}
427
428/^[\P{Yi}]/8
429    \x{2f800}
430    ** Failers
431    \x{a014}
432    \x{a4c6}
433
434/^\p{Any}X/8
435    AXYZ
436    \x{1234}XYZ
437    ** Failers
438    X
439
440/^\P{Any}X/8
441    ** Failers
442    AX
443
444/^\p{Any}?X/8
445    XYZ
446    AXYZ
447    \x{1234}XYZ
448    ** Failers
449    ABXYZ
450
451/^\P{Any}?X/8
452    XYZ
453    ** Failers
454    AXYZ
455    \x{1234}XYZ
456    ABXYZ
457
458/^\p{Any}+X/8
459    AXYZ
460    \x{1234}XYZ
461    A\x{1234}XYZ
462    ** Failers
463    XYZ
464
465/^\P{Any}+X/8
466    ** Failers
467    AXYZ
468    \x{1234}XYZ
469    A\x{1234}XYZ
470    XYZ
471
472/^\p{Any}*X/8
473    XYZ
474    AXYZ
475    \x{1234}XYZ
476    A\x{1234}XYZ
477    ** Failers
478
479/^\P{Any}*X/8
480    XYZ
481    ** Failers
482    AXYZ
483    \x{1234}XYZ
484    A\x{1234}XYZ
485
486/^[\p{Any}]X/8
487    AXYZ
488    \x{1234}XYZ
489    ** Failers
490    X
491
492/^[\P{Any}]X/8
493    ** Failers
494    AX
495
496/^[\p{Any}]?X/8
497    XYZ
498    AXYZ
499    \x{1234}XYZ
500    ** Failers
501    ABXYZ
502
503/^[\P{Any}]?X/8
504    XYZ
505    ** Failers
506    AXYZ
507    \x{1234}XYZ
508    ABXYZ
509
510/^[\p{Any}]+X/8
511    AXYZ
512    \x{1234}XYZ
513    A\x{1234}XYZ
514    ** Failers
515    XYZ
516
517/^[\P{Any}]+X/8
518    ** Failers
519    AXYZ
520    \x{1234}XYZ
521    A\x{1234}XYZ
522    XYZ
523
524/^[\p{Any}]*X/8
525    XYZ
526    AXYZ
527    \x{1234}XYZ
528    A\x{1234}XYZ
529    ** Failers
530
531/^[\P{Any}]*X/8
532    XYZ
533    ** Failers
534    AXYZ
535    \x{1234}XYZ
536    A\x{1234}XYZ
537
538/^\p{Any}{3,5}?/8
539    abcdefgh
540    \x{1234}\n\r\x{3456}xyz
541
542/^\p{Any}{3,5}/8
543    abcdefgh
544    \x{1234}\n\r\x{3456}xyz
545
546/^\P{Any}{3,5}?/8
547    ** Failers
548    abcdefgh
549    \x{1234}\n\r\x{3456}xyz
550
551/^\p{L&}X/8
552     AXY
553     aXY
554     \x{1c5}XY
555     ** Failers
556     \x{1bb}XY
557     \x{2b0}XY
558     !XY
559
560/^[\p{L&}]X/8
561     AXY
562     aXY
563     \x{1c5}XY
564     ** Failers
565     \x{1bb}XY
566     \x{2b0}XY
567     !XY
568
569/^\p{L&}+X/8
570     AXY
571     aXY
572     AbcdeXyz
573     \x{1c5}AbXY
574     abcDEXypqreXlmn
575     ** Failers
576     \x{1bb}XY
577     \x{2b0}XY
578     !XY
579
580/^[\p{L&}]+X/8
581     AXY
582     aXY
583     AbcdeXyz
584     \x{1c5}AbXY
585     abcDEXypqreXlmn
586     ** Failers
587     \x{1bb}XY
588     \x{2b0}XY
589     !XY
590
591/^\p{L&}+?X/8
592     AXY
593     aXY
594     AbcdeXyz
595     \x{1c5}AbXY
596     abcDEXypqreXlmn
597     ** Failers
598     \x{1bb}XY
599     \x{2b0}XY
600     !XY
601
602/^[\p{L&}]+?X/8
603     AXY
604     aXY
605     AbcdeXyz
606     \x{1c5}AbXY
607     abcDEXypqreXlmn
608     ** Failers
609     \x{1bb}XY
610     \x{2b0}XY
611     !XY
612
613/^\P{L&}X/8
614     !XY
615     \x{1bb}XY
616     \x{2b0}XY
617     ** Failers
618     \x{1c5}XY
619     AXY
620
621/^[\P{L&}]X/8
622     !XY
623     \x{1bb}XY
624     \x{2b0}XY
625     ** Failers
626     \x{1c5}XY
627     AXY
628
629/^(\p{Z}[^\p{C}\p{Z}]+)*$/
630    \xa0!
631
632/^[\pL](abc)(?1)/
633    AabcabcYZ
634
635/([\pL]=(abc))*X/
636    L=abcX
637
638/^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
639    \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
640
641/Check property support in non-UTF-8 mode/
642
643/\p{L}{4}/
644    123abcdefg
645    123abc\xc4\xc5zz
646
647/\X{1,3}\d/
648  \x8aBCD
649
650/\X?\d/
651  \x8aBCD
652
653/\P{L}?\d/
654  \x8aBCD
655
656/[\PPP\x8a]{1,}\x80/
657    A\x80
658
659/^[\p{Arabic}]/8
660    \x{604}
661    \x{60e}
662    \x{656}
663    \x{657}
664    \x{658}
665    \x{659}
666    \x{65a}
667    \x{65b}
668    \x{65c}
669    \x{65d}
670    \x{65e}
671    \x{65f}
672    \x{66a}
673    \x{6e9}
674    \x{6ef}
675    \x{6fa}
676    ** Failers
677    \x{650}
678    \x{651}
679    \x{652}
680    \x{653}
681    \x{654}
682    \x{655}
683
684/^\p{Cyrillic}/8
685    \x{1d2b}
686
687/^\p{Common}/8
688    \x{589}
689    \x{60c}
690    \x{61f}
691    \x{964}
692    \x{965}
693
694/^\p{Inherited}/8
695    \x{64b}
696    \x{654}
697    \x{655}
698    \x{200c}
699    ** Failers
700    \x{64a}
701    \x{656}
702
703/^\p{Shavian}/8
704    \x{10450}
705    \x{1047f}
706
707/^\p{Deseret}/8
708    \x{10400}
709    \x{1044f}
710
711/^\p{Osmanya}/8
712    \x{10480}
713    \x{1049d}
714    \x{104a0}
715    \x{104a9}
716    ** Failers
717    \x{1049e}
718    \x{1049f}
719    \x{104aa}
720
721/\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
722    \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}====
723
724/\x{a77d}\x{1d79}/8i
725    \x{a77d}\x{1d79}
726    \x{1d79}\x{a77d}
727
728/\x{a77d}\x{1d79}/8
729    \x{a77d}\x{1d79}
730    ** Failers
731    \x{1d79}\x{a77d}
732
733/(A)\1/8i
734    AA
735    Aa
736    aa
737    aA
738
739/(\x{10a})\1/8i
740    \x{10a}\x{10a}
741    \x{10a}\x{10b}
742    \x{10b}\x{10b}
743    \x{10b}\x{10a}
744
745/The next two tests are for property support in non-UTF-8 mode/
746
747/(?:\p{Lu}|\x20)+/
748    \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
749
750/[\p{Lu}\x20]+/
751    \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
752
753/\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
754    \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}
755
756/^\w+/8W
757    Az_\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
758
759/^[[:xdigit:]]*/8W
760    1a\x{660}\x{bef}\x{16ee}
761
762/^\d+/8W
763    1\x{660}\x{bef}\x{16ee}
764
765/^[[:digit:]]+/8W
766    1\x{660}\x{bef}\x{16ee}
767
768/^>\s+/8W
769    >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
770
771/^>\pZ+/8W
772    >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
773
774/^>[[:space:]]*/8W
775    >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b}
776
777/^>[[:blank:]]*/8W
778    >\x{20}\x{a0}\x{1680}\x{180e}\x{2000}\x{202f}\x{9}\x{b}\x{2028}
779
780/^[[:alpha:]]*/8W
781    Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}
782
783/^[[:alnum:]]*/8W
784    Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
785
786/^[[:cntrl:]]*/8W
787    \x{0}\x{09}\x{1f}\x{7f}\x{9f}
788
789/^[[:graph:]]*/8W
790    A\x{a1}\x{a0}
791
792/^[[:print:]]*/8W
793    A z\x{a0}\x{a1}
794
795/^[[:punct:]]*/8W
796    .+\x{a1}\x{a0}
797
798/\p{Zs}*?\R/
799    ** Failers
800    a\xFCb
801
802/\p{Zs}*\R/
803    ** Failers
804    a\xFCb
805
806/ⱥ/8i
807808    Ⱥx
809    Ⱥ
810
811/[ⱥ]/8i
812813    Ⱥx
814    Ⱥ
815
816/Ⱥ/8i
817    Ⱥ
818819
820/-- These are tests for extended grapheme clusters --/
821
822/^\X/8+
823    G\x{34e}\x{34e}X
824    \x{34e}\x{34e}X
825    \x04X
826    \x{1100}X
827    \x{1100}\x{34e}X
828    \x{1b04}\x{1b04}X
829    *These match up to the roman letters
830    \x{1111}\x{1111}L,L
831    \x{1111}\x{1111}\x{1169}L,L,V
832    \x{1111}\x{ae4c}L, LV
833    \x{1111}\x{ad89}L, LVT
834    \x{1111}\x{ae4c}\x{1169}L, LV, V
835    \x{1111}\x{ae4c}\x{1169}\x{1169}L, LV, V, V
836    \x{1111}\x{ae4c}\x{1169}\x{11fe}L, LV, V, T
837    \x{1111}\x{ad89}\x{11fe}L, LVT, T
838    \x{1111}\x{ad89}\x{11fe}\x{11fe}L, LVT, T, T
839    \x{ad89}\x{11fe}\x{11fe}LVT, T, T
840    *These match just the first codepoint (invalid sequence)
841    \x{1111}\x{11fe}L, T
842    \x{ae4c}\x{1111}LV, L
843    \x{ae4c}\x{ae4c}LV, LV
844    \x{ae4c}\x{ad89}LV, LVT
845    \x{1169}\x{1111}V, L
846    \x{1169}\x{ae4c}V, LV
847    \x{1169}\x{ad89}V, LVT
848    \x{ad89}\x{1111}LVT, L
849    \x{ad89}\x{1169}LVT, V
850    \x{ad89}\x{ae4c}LVT, LV
851    \x{ad89}\x{ad89}LVT, LVT
852    \x{11fe}\x{1111}T, L
853    \x{11fe}\x{1169}T, V
854    \x{11fe}\x{ae4c}T, LV
855    \x{11fe}\x{ad89}T, LVT
856    *Test extend and spacing mark
857    \x{1111}\x{ae4c}\x{0711}L, LV, extend
858    \x{1111}\x{ae4c}\x{1b04}L, LV, spacing mark
859    \x{1111}\x{ae4c}\x{1b04}\x{0711}\x{1b04}L, LV, spacing mark, extend, spacing mark
860    *Test CR, LF, and control
861    \x0d\x{0711}CR, extend
862    \x0d\x{1b04}CR, spacingmark
863    \x0a\x{0711}LF, extend
864    \x0a\x{1b04}LF, spacingmark
865    \x0b\x{0711}Control, extend
866    \x09\x{1b04}Control, spacingmark
867    *There are no Prepend characters, so we can't test Prepend, CR
868
869/^(?>\X{2})X/8+
870    \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
871
872/^\X{2,4}X/8+
873    \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
874    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
875    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
876
877/^\X{2,4}?X/8+
878    \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
879    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
880    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
881
882/\X*Z/8Y
883  A\x{300}
884
885/\X*(.)/8Y
886  A\x{1111}\x{ae4c}\x{1169}
887
888/\X?abc/8Y
889\xff\x7f\x00\x00\x03\x00\x41\xcc\x80\x41\x{300}\x61\x62\x63\x00\>06\?
890
891/-- --/
892
893/\x{1e9e}+/8i
894    \x{1e9e}\x{00df}
895
896/[z\x{1e9e}]+/8i
897    \x{1e9e}\x{00df}
898
899/\x{00df}+/8i
900    \x{1e9e}\x{00df}
901
902/[z\x{00df}]+/8i
903    \x{1e9e}\x{00df}
904
905/\x{1f88}+/8i
906    \x{1f88}\x{1f80}
907
908/[z\x{1f88}]+/8i
909    \x{1f88}\x{1f80}
910
911/-- Characters with more than one other case; test in classes --/
912
913/[z\x{00b5}]+/8i
914    \x{00b5}\x{039c}\x{03bc}
915
916/[z\x{039c}]+/8i
917    \x{00b5}\x{039c}\x{03bc}
918
919/[z\x{03bc}]+/8i
920    \x{00b5}\x{039c}\x{03bc}
921
922/[z\x{00c5}]+/8i
923    \x{00c5}\x{00e5}\x{212b}
924
925/[z\x{00e5}]+/8i
926    \x{00c5}\x{00e5}\x{212b}
927
928/[z\x{212b}]+/8i
929    \x{00c5}\x{00e5}\x{212b}
930
931/[z\x{01c4}]+/8i
932    \x{01c4}\x{01c5}\x{01c6}
933
934/[z\x{01c5}]+/8i
935    \x{01c4}\x{01c5}\x{01c6}
936
937/[z\x{01c6}]+/8i
938    \x{01c4}\x{01c5}\x{01c6}
939
940/[z\x{01c7}]+/8i
941    \x{01c7}\x{01c8}\x{01c9}
942
943/[z\x{01c8}]+/8i
944    \x{01c7}\x{01c8}\x{01c9}
945
946/[z\x{01c9}]+/8i
947    \x{01c7}\x{01c8}\x{01c9}
948
949/[z\x{01ca}]+/8i
950    \x{01ca}\x{01cb}\x{01cc}
951
952/[z\x{01cb}]+/8i
953    \x{01ca}\x{01cb}\x{01cc}
954
955/[z\x{01cc}]+/8i
956    \x{01ca}\x{01cb}\x{01cc}
957
958/[z\x{01f1}]+/8i
959    \x{01f1}\x{01f2}\x{01f3}
960
961/[z\x{01f2}]+/8i
962    \x{01f1}\x{01f2}\x{01f3}
963
964/[z\x{01f3}]+/8i
965    \x{01f1}\x{01f2}\x{01f3}
966
967/[z\x{0345}]+/8i
968    \x{0345}\x{0399}\x{03b9}\x{1fbe}
969
970/[z\x{0399}]+/8i
971    \x{0345}\x{0399}\x{03b9}\x{1fbe}
972
973/[z\x{03b9}]+/8i
974    \x{0345}\x{0399}\x{03b9}\x{1fbe}
975
976/[z\x{1fbe}]+/8i
977    \x{0345}\x{0399}\x{03b9}\x{1fbe}
978
979/[z\x{0392}]+/8i
980    \x{0392}\x{03b2}\x{03d0}
981
982/[z\x{03b2}]+/8i
983    \x{0392}\x{03b2}\x{03d0}
984
985/[z\x{03d0}]+/8i
986    \x{0392}\x{03b2}\x{03d0}
987
988/[z\x{0395}]+/8i
989    \x{0395}\x{03b5}\x{03f5}
990
991/[z\x{03b5}]+/8i
992    \x{0395}\x{03b5}\x{03f5}
993
994/[z\x{03f5}]+/8i
995    \x{0395}\x{03b5}\x{03f5}
996
997/[z\x{0398}]+/8i
998    \x{0398}\x{03b8}\x{03d1}\x{03f4}
999
1000/[z\x{03b8}]+/8i
1001    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1002
1003/[z\x{03d1}]+/8i
1004    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1005
1006/[z\x{03f4}]+/8i
1007    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1008
1009/[z\x{039a}]+/8i
1010    \x{039a}\x{03ba}\x{03f0}
1011
1012/[z\x{03ba}]+/8i
1013    \x{039a}\x{03ba}\x{03f0}
1014
1015/[z\x{03f0}]+/8i
1016    \x{039a}\x{03ba}\x{03f0}
1017
1018/[z\x{03a0}]+/8i
1019    \x{03a0}\x{03c0}\x{03d6}
1020
1021/[z\x{03c0}]+/8i
1022    \x{03a0}\x{03c0}\x{03d6}
1023
1024/[z\x{03d6}]+/8i
1025    \x{03a0}\x{03c0}\x{03d6}
1026
1027/[z\x{03a1}]+/8i
1028    \x{03a1}\x{03c1}\x{03f1}
1029
1030/[z\x{03c1}]+/8i
1031    \x{03a1}\x{03c1}\x{03f1}
1032
1033/[z\x{03f1}]+/8i
1034    \x{03a1}\x{03c1}\x{03f1}
1035
1036/[z\x{03a3}]+/8i
1037    \x{03A3}\x{03C2}\x{03C3}
1038
1039/[z\x{03c2}]+/8i
1040    \x{03A3}\x{03C2}\x{03C3}
1041
1042/[z\x{03c3}]+/8i
1043    \x{03A3}\x{03C2}\x{03C3}
1044
1045/[z\x{03a6}]+/8i
1046    \x{03a6}\x{03c6}\x{03d5}
1047
1048/[z\x{03c6}]+/8i
1049    \x{03a6}\x{03c6}\x{03d5}
1050
1051/[z\x{03d5}]+/8i
1052    \x{03a6}\x{03c6}\x{03d5}
1053
1054/[z\x{03c9}]+/8i
1055    \x{03c9}\x{03a9}\x{2126}
1056
1057/[z\x{03a9}]+/8i
1058    \x{03c9}\x{03a9}\x{2126}
1059
1060/[z\x{2126}]+/8i
1061    \x{03c9}\x{03a9}\x{2126}
1062
1063/[z\x{1e60}]+/8i
1064    \x{1e60}\x{1e61}\x{1e9b}
1065
1066/[z\x{1e61}]+/8i
1067    \x{1e60}\x{1e61}\x{1e9b}
1068
1069/[z\x{1e9b}]+/8i
1070    \x{1e60}\x{1e61}\x{1e9b}
1071
1072/-- Perl 5.12.4 gets these wrong, but 5.15.3 is OK --/
1073
1074/[z\x{004b}]+/8i
1075    \x{004b}\x{006b}\x{212a}
1076
1077/[z\x{006b}]+/8i
1078    \x{004b}\x{006b}\x{212a}
1079
1080/[z\x{212a}]+/8i
1081    \x{004b}\x{006b}\x{212a}
1082
1083/[z\x{0053}]+/8i
1084    \x{0053}\x{0073}\x{017f}
1085
1086/[z\x{0073}]+/8i
1087    \x{0053}\x{0073}\x{017f}
1088
1089/[z\x{017f}]+/8i
1090    \x{0053}\x{0073}\x{017f}
1091
1092/-- --/
1093
1094/(ΣΆΜΟΣ) \1/8i
1095    ΣΆΜΟΣ ΣΆΜΟΣ
1096    ΣΆΜΟΣ σάμος
1097    σάμος σάμος
1098    σάμος σάμοσ
1099    σάμος ΣΆΜΟΣ
1100
1101/(σάμος) \1/8i
1102    ΣΆΜΟΣ ΣΆΜΟΣ
1103    ΣΆΜΟΣ σάμος
1104    σάμος σάμος
1105    σάμος σάμοσ
1106    σάμος ΣΆΜΟΣ
1107
1108/(ΣΆΜΟΣ) \1*/8i
1109    ΣΆΜΟΣ\x20
1110    ΣΆΜΟΣ ΣΆΜΟΣσάμοςσάμος
1111
1112/-- Perl matches these --/
1113
1114/\x{00b5}+/8i
1115    \x{00b5}\x{039c}\x{03bc}
1116
1117/\x{039c}+/8i
1118    \x{00b5}\x{039c}\x{03bc}
1119
1120/\x{03bc}+/8i
1121    \x{00b5}\x{039c}\x{03bc}
1122
1123
1124/\x{00c5}+/8i
1125    \x{00c5}\x{00e5}\x{212b}
1126
1127/\x{00e5}+/8i
1128    \x{00c5}\x{00e5}\x{212b}
1129
1130/\x{212b}+/8i
1131    \x{00c5}\x{00e5}\x{212b}
1132
1133
1134/\x{01c4}+/8i
1135    \x{01c4}\x{01c5}\x{01c6}
1136
1137/\x{01c5}+/8i
1138    \x{01c4}\x{01c5}\x{01c6}
1139
1140/\x{01c6}+/8i
1141    \x{01c4}\x{01c5}\x{01c6}
1142
1143
1144/\x{01c7}+/8i
1145    \x{01c7}\x{01c8}\x{01c9}
1146
1147/\x{01c8}+/8i
1148    \x{01c7}\x{01c8}\x{01c9}
1149
1150/\x{01c9}+/8i
1151    \x{01c7}\x{01c8}\x{01c9}
1152
1153
1154/\x{01ca}+/8i
1155    \x{01ca}\x{01cb}\x{01cc}
1156
1157/\x{01cb}+/8i
1158    \x{01ca}\x{01cb}\x{01cc}
1159
1160/\x{01cc}+/8i
1161    \x{01ca}\x{01cb}\x{01cc}
1162
1163
1164/\x{01f1}+/8i
1165    \x{01f1}\x{01f2}\x{01f3}
1166
1167/\x{01f2}+/8i
1168    \x{01f1}\x{01f2}\x{01f3}
1169
1170/\x{01f3}+/8i
1171    \x{01f1}\x{01f2}\x{01f3}
1172
1173
1174/\x{0345}+/8i
1175    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1176
1177/\x{0399}+/8i
1178    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1179
1180/\x{03b9}+/8i
1181    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1182
1183/\x{1fbe}+/8i
1184    \x{0345}\x{0399}\x{03b9}\x{1fbe}
1185
1186
1187/\x{0392}+/8i
1188    \x{0392}\x{03b2}\x{03d0}
1189
1190/\x{03b2}+/8i
1191    \x{0392}\x{03b2}\x{03d0}
1192
1193/\x{03d0}+/8i
1194    \x{0392}\x{03b2}\x{03d0}
1195
1196
1197/\x{0395}+/8i
1198    \x{0395}\x{03b5}\x{03f5}
1199
1200/\x{03b5}+/8i
1201    \x{0395}\x{03b5}\x{03f5}
1202
1203/\x{03f5}+/8i
1204    \x{0395}\x{03b5}\x{03f5}
1205
1206
1207/\x{0398}+/8i
1208    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1209
1210/\x{03b8}+/8i
1211    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1212
1213/\x{03d1}+/8i
1214    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1215
1216/\x{03f4}+/8i
1217    \x{0398}\x{03b8}\x{03d1}\x{03f4}
1218
1219
1220/\x{039a}+/8i
1221    \x{039a}\x{03ba}\x{03f0}
1222
1223/\x{03ba}+/8i
1224    \x{039a}\x{03ba}\x{03f0}
1225
1226/\x{03f0}+/8i
1227    \x{039a}\x{03ba}\x{03f0}
1228
1229
1230/\x{03a0}+/8i
1231    \x{03a0}\x{03c0}\x{03d6}
1232
1233/\x{03c0}+/8i
1234    \x{03a0}\x{03c0}\x{03d6}
1235
1236/\x{03d6}+/8i
1237    \x{03a0}\x{03c0}\x{03d6}
1238
1239
1240/\x{03a1}+/8i
1241    \x{03a1}\x{03c1}\x{03f1}
1242
1243/\x{03c1}+/8i
1244    \x{03a1}\x{03c1}\x{03f1}
1245
1246/\x{03f1}+/8i
1247    \x{03a1}\x{03c1}\x{03f1}
1248
1249
1250/\x{03a3}+/8i
1251    \x{03A3}\x{03C2}\x{03C3}
1252
1253/\x{03c2}+/8i
1254    \x{03A3}\x{03C2}\x{03C3}
1255
1256/\x{03c3}+/8i
1257    \x{03A3}\x{03C2}\x{03C3}
1258
1259
1260/\x{03a6}+/8i
1261    \x{03a6}\x{03c6}\x{03d5}
1262
1263/\x{03c6}+/8i
1264    \x{03a6}\x{03c6}\x{03d5}
1265
1266/\x{03d5}+/8i
1267    \x{03a6}\x{03c6}\x{03d5}
1268
1269
1270/\x{03c9}+/8i
1271    \x{03c9}\x{03a9}\x{2126}
1272
1273/\x{03a9}+/8i
1274    \x{03c9}\x{03a9}\x{2126}
1275
1276/\x{2126}+/8i
1277    \x{03c9}\x{03a9}\x{2126}
1278
1279
1280/\x{1e60}+/8i
1281    \x{1e60}\x{1e61}\x{1e9b}
1282
1283/\x{1e61}+/8i
1284    \x{1e60}\x{1e61}\x{1e9b}
1285
1286/\x{1e9b}+/8i
1287    \x{1e60}\x{1e61}\x{1e9b}
1288
1289
1290/\x{1e9e}+/8i
1291    \x{1e9e}\x{00df}
1292
1293/\x{00df}+/8i
1294    \x{1e9e}\x{00df}
1295
1296
1297/\x{1f88}+/8i
1298    \x{1f88}\x{1f80}
1299
1300/\x{1f80}+/8i
1301    \x{1f88}\x{1f80}
1302
1303
1304/-- Perl 5.12.4 gets these wrong, but 5.15.3 is OK --/
1305
1306/\x{004b}+/8i
1307    \x{004b}\x{006b}\x{212a}
1308
1309/\x{006b}+/8i
1310    \x{004b}\x{006b}\x{212a}
1311
1312/\x{212a}+/8i
1313    \x{004b}\x{006b}\x{212a}
1314
1315
1316/\x{0053}+/8i
1317    \x{0053}\x{0073}\x{017f}
1318
1319/\x{0073}+/8i
1320    \x{0053}\x{0073}\x{017f}
1321
1322/\x{017f}+/8i
1323    \x{0053}\x{0073}\x{017f}
1324
1325/^\p{Any}*\d{4}/8
1326    1234
1327    123
1328
1329/^\X*\w{4}/8
1330    1234
1331    123
1332
1333/^A\s+Z/8W
1334    A\x{2005}Z
1335    A\x{85}\x{180e}\x{2005}Z
1336
1337/^A[\s]+Z/8W
1338    A\x{2005}Z
1339    A\x{85}\x{180e}\x{2005}Z
1340
1341/^[[:graph:]]+$/8W
1342    Letter:ABC
1343    Mark:\x{300}\x{1d172}\x{1d17b}
1344    Number:9\x{660}
1345    Punctuation:\x{66a},;
1346    Symbol:\x{6de}<>\x{fffc}
1347    Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
1348    \x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
1349    \x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
1350    \x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
1351    \x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
1352    \x{feff}
1353    \x{fff9}\x{fffa}\x{fffb}
1354    \x{110bd}
1355    \x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
1356    \x{e0001}
1357    \x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
1358    ** Failers
1359    \x{09}
1360    \x{0a}
1361    \x{1D}
1362    \x{20}
1363    \x{85}
1364    \x{a0}
1365    \x{61c}
1366    \x{1680}
1367    \x{180e}
1368    \x{2028}
1369    \x{2029}
1370    \x{202f}
1371    \x{2065}
1372    \x{2066}
1373    \x{2067}
1374    \x{2068}
1375    \x{2069}
1376    \x{3000}
1377    \x{e0002}
1378    \x{e001f}
1379    \x{e0080}
1380
1381/^[[:print:]]+$/8W
1382    Space: \x{a0}
1383    \x{1680}\x{2000}\x{2001}\x{2002}\x{2003}\x{2004}\x{2005}
1384    \x{2006}\x{2007}\x{2008}\x{2009}\x{200a}
1385    \x{202f}\x{205f}
1386    \x{3000}
1387    Letter:ABC
1388    Mark:\x{300}\x{1d172}\x{1d17b}
1389    Number:9\x{660}
1390    Punctuation:\x{66a},;
1391    Symbol:\x{6de}<>\x{fffc}
1392    Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
1393    \x{180e}
1394    \x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
1395    \x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
1396    \x{202f}
1397    \x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
1398    \x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
1399    \x{feff}
1400    \x{fff9}\x{fffa}\x{fffb}
1401    \x{110bd}
1402    \x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
1403    \x{e0001}
1404    \x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
1405    ** Failers
1406    \x{09}
1407    \x{1D}
1408    \x{85}
1409    \x{61c}
1410    \x{2028}
1411    \x{2029}
1412    \x{2065}
1413    \x{2066}
1414    \x{2067}
1415    \x{2068}
1416    \x{2069}
1417    \x{e0002}
1418    \x{e001f}
1419    \x{e0080}
1420
1421/^[[:punct:]]+$/8W
1422    \$+<=>^`|~
1423    !\"#%&'()*,-./:;?@[\\]_{}
1424    \x{a1}\x{a7}
1425    \x{37e}
1426    ** Failers
1427    abcde
1428
1429/^[[:^graph:]]+$/8W
1430    \x{09}\x{0a}\x{1D}\x{20}\x{85}\x{a0}\x{61c}\x{1680}\x{180e}
1431    \x{2028}\x{2029}\x{202f}\x{2065}\x{2066}\x{2067}\x{2068}\x{2069}
1432    \x{3000}\x{e0002}\x{e001f}\x{e0080}
1433    ** Failers
1434    Letter:ABC
1435    Mark:\x{300}\x{1d172}\x{1d17b}
1436    Number:9\x{660}
1437    Punctuation:\x{66a},;
1438    Symbol:\x{6de}<>\x{fffc}
1439    Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
1440    \x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
1441    \x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
1442    \x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
1443    \x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
1444    \x{feff}
1445    \x{fff9}\x{fffa}\x{fffb}
1446    \x{110bd}
1447    \x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
1448    \x{e0001}
1449    \x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
1450
1451/^[[:^print:]]+$/8W
1452    \x{09}\x{1D}\x{85}\x{61c}\x{2028}\x{2029}\x{2065}\x{2066}\x{2067}
1453    \x{2068}\x{2069}\x{e0002}\x{e001f}\x{e0080}
1454    ** Failers
1455    Space: \x{a0}
1456    \x{1680}\x{2000}\x{2001}\x{2002}\x{2003}\x{2004}\x{2005}
1457    \x{2006}\x{2007}\x{2008}\x{2009}\x{200a}
1458    \x{202f}\x{205f}
1459    \x{3000}
1460    Letter:ABC
1461    Mark:\x{300}\x{1d172}\x{1d17b}
1462    Number:9\x{660}
1463    Punctuation:\x{66a},;
1464    Symbol:\x{6de}<>\x{fffc}
1465    Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
1466    \x{180e}
1467    \x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
1468    \x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
1469    \x{202f}
1470    \x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
1471    \x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
1472    \x{feff}
1473    \x{fff9}\x{fffa}\x{fffb}
1474    \x{110bd}
1475    \x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
1476    \x{e0001}
1477    \x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
1478
1479/^[[:^punct:]]+$/8W
1480    abcde
1481    ** Failers
1482    \$+<=>^`|~
1483    !\"#%&'()*,-./:;?@[\\]_{}
1484    \x{a1}\x{a7}
1485    \x{37e}
1486
1487/[RST]+/8iW
1488    Ss\x{17f}
1489
1490/[R-T]+/8iW
1491    Ss\x{17f}
1492
1493/[q-u]+/8iW
1494    Ss\x{17f}
1495
1496/^s?c/mi8
1497    scat
1498
1499/[A-`]/i8
1500    abcdefghijklmno
1501
1502/\C\X*QT/8
1503    Ӆ\x0aT
1504
1505/[\pS#moq]/
1506    =
1507
1508/[[:punct:]]/8W
1509    \xc2\xb4
1510    \x{b4}
1511
1512/[[:^ascii:]]/8W
1513    \x{100}
1514    \x{200}
1515    \x{300}
1516    \x{37e}
1517    a
1518    9
1519    g
1520
1521/[[:^ascii:]\w]/8W
1522    a
1523    9
1524    g
1525    \x{100}
1526    \x{200}
1527    \x{300}
1528    \x{37e}
1529
1530/[\w[:^ascii:]]/8W
1531    a
1532    9
1533    g
1534    \x{100}
1535    \x{200}
1536    \x{300}
1537    \x{37e}
1538
1539/[^[:ascii:]\W]/8W
1540    a
1541    9
1542    g
1543    \x{100}
1544    \x{200}
1545    \x{300}
1546    \x{37e}
1547
1548/[[:^ascii:]a]/8W
1549    a
1550    9
1551    g
1552    \x{100}
1553    \x{200}
1554    \x{37e}
1555
1556/-- End of testinput6 --/
1557