aboutsummaryrefslogblamecommitdiffstats
path: root/lib/stdlib/test/re_SUITE_data/testoutput6
blob: 422d38335780aad8b49cf76a23196d09569c60e5 (plain) (tree)
1
2
3
4
5
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578

                                                                            

                              
 



































































































                                                     







































































































































































































































                                                                                           



















































                      







































































                              

























                    



























































                                                                           









              





























                                        























                                        













































































                                                    










                             






















                                     

            












































































































































































































































































































































































                                 



                                                              























                                          
                

           



















            

           









              











             















                














































                        













































































                                                                                                                                                                                                                                            
                                                        


























                                                                                
           


                   
                   


                  
            








































































































































































































                                                                                     












                                                                     














































































































































































































































































































































































































































































































































































































                                                                                                                                                 
 




            







































































































































































































































































































































































































































                                                                            
    



                          
                         
/-- This set of tests is for Unicode property support. It is compatible with
    Perl >= 5.15. --/
    
< forbid 9?=ABCDEFfGILMNPTUXZ<

/^\pC\pL\pM\pN\pP\pS\pZ</8
    \x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
 0: \x{7f}\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
    \np\x{300}9!\$ < 
 0: \x{0a}p\x{300}9!$ <
    ** Failers 
No match
    ap\x{300}9!\$ < 
No match
  
/^\PC/8
    X
 0: X
    ** Failers 
 0: *
    \x7f
No match
  
/^\PL/8
    9
 0: 9
    ** Failers 
 0: *
    \x{c0}
No match
  
/^\PM/8
    X
 0: X
    ** Failers 
 0: *
    \x{30f}
No match
  
/^\PN/8
    X
 0: X
    ** Failers 
 0: *
    \x{660}
No match
  
/^\PP/8
    X
 0: X
    ** Failers 
No match
    \x{66c}
No match
  
/^\PS/8
    X
 0: X
    ** Failers 
 0: *
    \x{f01}
No match
  
/^\PZ/8
    X
 0: X
    ** Failers 
 0: *
    \x{1680}
No match
    
/^\p{Cc}/8
    \x{017}
 0: \x{17}
    \x{09f} 
 0: \x{9f}
    ** Failers
No match
    \x{0600} 
No match
  
/^\p{Cf}/8
    \x{601}
 0: \x{601}
    ** Failers
No match
    \x{09f} 
No match
  
/^\p{Cn}/8
    \x{e0000}
 0: \x{e0000}
    ** Failers
No match
    \x{09f} 
No match
  
/^\p{Co}/8
    \x{f8ff}
 0: \x{f8ff}
    ** Failers
No match
    \x{09f} 
No match
  
/^\p{Ll}/8
    a
 0: a
    ** Failers 
No match
    Z
No match
    \x{e000}  
No match
  
/^\p{Lm}/8
    \x{2b0}
 0: \x{2b0}
    ** Failers
No match
    a 
No match
  
/^\p{Lo}/8
    \x{1bb}
 0: \x{1bb}
    \x{3400}
 0: \x{3400}
    \x{3401}
 0: \x{3401}
    \x{4d00}
 0: \x{4d00}
    \x{4db4}
 0: \x{4db4}
    \x{4db5}     
 0: \x{4db5}
    ** Failers
No match
    a 
No match
    \x{2b0}
No match
    \x{4db6} 
No match
  
/^\p{Lt}/8
    \x{1c5}
 0: \x{1c5}
    ** Failers
No match
    a 
No match
    \x{2b0}
No match
  
/^\p{Lu}/8
    A
 0: A
    ** Failers
No match
    \x{2b0}
No match
  
/^\p{Mc}/8
    \x{903}
 0: \x{903}
    ** Failers
No match
    X
No match
    \x{300}
No match
       
/^\p{Me}/8
    \x{488}
 0: \x{488}
    ** Failers
No match
    X
No match
    \x{903}
No match
    \x{300}
No match
  
/^\p{Mn}/8
    \x{300}
 0: \x{300}
    ** Failers
No match
    X
No match
    \x{903}
No match
  
/^\p{Nd}+/8
    0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}\x{66a}
 0: 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}
    \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}\x{6fa}
 0: \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}
    \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}\x{970}
 0: \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}
    ** Failers
No match
    X
No match
  
/^\p{Nl}/8
    \x{16ee}
 0: \x{16ee}
    ** Failers
No match
    X
No match
    \x{966}
No match
  
/^\p{No}/8
    \x{b2}
 0: \x{b2}
    \x{b3}
 0: \x{b3}
    ** Failers
No match
    X
No match
    \x{16ee}
No match
  
/^\p{Pc}/8
    \x5f
 0: _
    \x{203f}
 0: \x{203f}
    ** Failers
No match
    X
No match
    -
No match
    \x{58a}
No match
  
/^\p{Pd}/8
    -
 0: -
    \x{58a}
 0: \x{58a}
    ** Failers
No match
    X
No match
    \x{203f}
No match
  
/^\p{Pe}/8
    )
 0: )
    ]
 0: ]
    }
 0: }
    \x{f3b}
 0: \x{f3b}
    ** Failers
No match
    X
No match
    \x{203f}
No match
    (
No match
    [
No match
    {
No match
    \x{f3c}
No match
  
/^\p{Pf}/8
    \x{bb}
 0: \x{bb}
    \x{2019}
 0: \x{2019}
    ** Failers
No match
    X
No match
    \x{203f}
No match
  
/^\p{Pi}/8
    \x{ab}
 0: \x{ab}
    \x{2018}
 0: \x{2018}
    ** Failers
No match
    X
No match
    \x{203f}
No match
  
/^\p{Po}/8
    !
 0: !
    \x{37e}
 0: \x{37e}
    ** Failers
 0: *
    X
No match
    \x{203f}
No match
  
/^\p{Ps}/8
    (
 0: (
    [
 0: [
    {
 0: {
    \x{f3c}
 0: \x{f3c}
    ** Failers
No match
    X
No match
    )
No match
    ]
No match
    }
No match
    \x{f3b}
No match
  
/^\p{Sk}/8
    \x{2c2}
 0: \x{2c2}
    ** Failers
No match
    X
No match
    \x{9f2}
No match
  
/^\p{Sm}+/8
    +<|~\x{ac}\x{2044}
 0: +<|~\x{ac}\x{2044}
    ** Failers
No match
    X
No match
    \x{9f2}
No match
  
/^\p{So}/8
    \x{a6}
 0: \x{a6}
    \x{482} 
 0: \x{482}
    ** Failers
No match
    X
No match
    \x{9f2}
No match
  
/^\p{Zl}/8
    \x{2028}
 0: \x{2028}
    ** Failers
No match
    X
No match
    \x{2029}
No match
  
/^\p{Zp}/8
    \x{2029}
 0: \x{2029}
    ** Failers
No match
    X
No match
    \x{2028}
No match
  
/\p{Nd}+(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}AB
 1: AB
  
/\p{Nd}+?(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}
 1: \x{661}\x{662}
  
/\p{Nd}{2,}(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}AB
 1: AB
  
/\p{Nd}{2,}?(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}A
 1: \x{662}A
  
/\p{Nd}*(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}AB
 1: AB
  
/\p{Nd}*?(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}
 1: \x{660}\x{661}
  
/\p{Nd}{2}(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}A
 1: \x{662}A
  
/\p{Nd}{2,3}(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}AB
 1: AB
  
/\p{Nd}{2,3}?(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}A
 1: \x{662}A
  
/\p{Nd}?(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}
 1: \x{661}\x{662}
  
/\p{Nd}??(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}
 1: \x{660}\x{661}
  
/\p{Nd}*+(..)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}AB
 1: AB
  
/\p{Nd}*+(...)/8
      \x{660}\x{661}\x{662}ABC
 0: \x{660}\x{661}\x{662}ABC
 1: ABC
  
/\p{Nd}*+(....)/8
      ** Failers
 0: ** F
 1: ** F
      \x{660}\x{661}\x{662}ABC
No match
  
/(?<=A\p{Nd})XYZ/8
    A2XYZ
 0: XYZ
    123A5XYZPQR
 0: XYZ
    ABA\x{660}XYZpqr
 0: XYZ
    ** Failers
No match
    AXYZ
No match
    XYZ     
No match
    
/(?<!\pL)XYZ/8
    1XYZ
 0: XYZ
    AB=XYZ.. 
 0: XYZ
    XYZ 
 0: XYZ
    ** Failers
No match
    WXYZ 
No match

/[\P{Nd}]+/8
    abcd
 0: abcd
    ** Failers
 0: ** Failers
    1234
No match

/\D+/8
    11111111111111111111111111111111111111111111111111111111111111111111111
No match
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
     
/\P{Nd}+/8
    11111111111111111111111111111111111111111111111111111111111111111111111
No match
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

/[\D]+/8
    11111111111111111111111111111111111111111111111111111111111111111111111
No match
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

/[\P{Nd}]+/8
    11111111111111111111111111111111111111111111111111111111111111111111111
No match
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

/[\D\P{Nd}]+/8
    11111111111111111111111111111111111111111111111111111111111111111111111
No match
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

/\pL/8
    a
 0: a
    A 
 0: A

/\pL/8i
    a
 0: a
    A 
 0: A
    
/\p{Lu}/8 
    A
 0: A
    aZ
 0: Z
    ** Failers
 0: F
    abc   
No match

/\p{Ll}/8 
    a
 0: a
    Az
 0: z
    ** Failers
 0: a
    ABC   
No match

/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8
    A\x{391}\x{10427}\x{ff3a}\x{1fb0}
 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0}
    ** Failers
No match
    a\x{391}\x{10427}\x{ff3a}\x{1fb0}   
No match
    A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
No match
    A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
No match
    A\x{391}\x{10427}\x{ff5a}\x{1fb0}
No match
    A\x{391}\x{10427}\x{ff3a}\x{1fb8}
No match

/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8i
    A\x{391}\x{10427}\x{ff3a}\x{1fb0}
 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0}
    a\x{391}\x{10427}\x{ff3a}\x{1fb0}   
 0: a\x{391}\x{10427}\x{ff3a}\x{1fb0}
    A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
 0: A\x{3b1}\x{10427}\x{ff3a}\x{1fb0}
    A\x{391}\x{1044F}\x{ff3a}\x{1fb0}
 0: A\x{391}\x{1044f}\x{ff3a}\x{1fb0}
    A\x{391}\x{10427}\x{ff5a}\x{1fb0}
 0: A\x{391}\x{10427}\x{ff5a}\x{1fb0}
    A\x{391}\x{10427}\x{ff3a}\x{1fb8}
 0: A\x{391}\x{10427}\x{ff3a}\x{1fb8}

/\x{391}+/8i
    \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}

/\x{391}{3,5}(.)/8i
    \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
 1: X

/\x{391}{3,5}?(.)/8i
    \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X
 0: \x{391}\x{3b1}\x{3b1}\x{3b1}
 1: \x{3b1}

/[\x{391}\x{ff3a}]/8i
    \x{391}
 0: \x{391}
    \x{ff3a}
 0: \x{ff3a}
    \x{3b1}
 0: \x{3b1}
    \x{ff5a}   
 0: \x{ff5a}
    
/^[\X]/8
    X123
 0: X
    *** Failers
No match
    AXYZ
No match

/^(\X*)C/8
    A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 
 0: A\x{300}\x{301}\x{302}BC
 1: A\x{300}\x{301}\x{302}B
    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 
 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
 1: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}

/^(\X*?)C/8
    A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 
 0: A\x{300}\x{301}\x{302}BC
 1: A\x{300}\x{301}\x{302}B
    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 
 0: A\x{300}\x{301}\x{302}BC
 1: A\x{300}\x{301}\x{302}B

/^(\X*)(.)/8
    A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 
 0: A\x{300}\x{301}\x{302}BCA
 1: A\x{300}\x{301}\x{302}BC
 2: A
    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 
 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C
 1: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}
 2: C

/^(\X*?)(.)/8
    A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 
 0: A
 1: 
 2: A
    A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 
 0: A
 1: 
 2: A

/^\X(.)/8
    *** Failers
 0: **
 1: *
    A\x{300}\x{301}\x{302}
No match

/^\X{2,3}(.)/8
    A\x{300}\x{301}B\x{300}X
 0: A\x{300}\x{301}B\x{300}X
 1: X
    A\x{300}\x{301}B\x{300}C\x{300}\x{301}
 0: A\x{300}\x{301}B\x{300}C
 1: C
    A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
 1: X
    A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}D
 1: D
    
/^\X{2,3}?(.)/8
    A\x{300}\x{301}B\x{300}X
 0: A\x{300}\x{301}B\x{300}X
 1: X
    A\x{300}\x{301}B\x{300}C\x{300}\x{301}
 0: A\x{300}\x{301}B\x{300}C
 1: C
    A\x{300}\x{301}B\x{300}C\x{300}\x{301}X
 0: A\x{300}\x{301}B\x{300}C
 1: C
    A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X
 0: A\x{300}\x{301}B\x{300}C
 1: C

/^\X/8
    A
 0: A
    A\x{300}BC 
 0: A\x{300}
    A\x{300}\x{301}\x{302}BC 
 0: A\x{300}\x{301}\x{302}
    \x{300}  
 0: \x{300}

/^\p{Han}+/8
    \x{2e81}\x{3007}\x{2f804}\x{31a0}
 0: \x{2e81}\x{3007}\x{2f804}
    ** Failers
No match
    \x{2e7f}  
No match

/^\P{Katakana}+/8
    \x{3105}
 0: \x{3105}
    ** Failers
 0: ** Failers
    \x{30ff}  
No match

/^[\p{Arabic}]/8
    \x{06e9}
 0: \x{6e9}
    \x{060b}
 0: \x{60b}
    ** Failers
No match
    \x{061c}
No match
    X\x{06e9}   
No match

/^[\P{Yi}]/8
    \x{2f800}
 0: \x{2f800}
    ** Failers
 0: *
    \x{a014}
No match
    \x{a4c6}   
No match
    
/^\p{Any}X/8
    AXYZ
 0: AX
    \x{1234}XYZ 
 0: \x{1234}X
    ** Failers
No match
    X  
No match
    
/^\P{Any}X/8
    ** Failers
No match
    AX
No match
    
/^\p{Any}?X/8
    XYZ
 0: X
    AXYZ
 0: AX
    \x{1234}XYZ 
 0: \x{1234}X
    ** Failers
No match
    ABXYZ   
No match

/^\P{Any}?X/8
    XYZ
 0: X
    ** Failers
No match
    AXYZ
No match
    \x{1234}XYZ 
No match
    ABXYZ   
No match

/^\p{Any}+X/8
    AXYZ
 0: AX
    \x{1234}XYZ
 0: \x{1234}X
    A\x{1234}XYZ
 0: A\x{1234}X
    ** Failers
No match
    XYZ
No match

/^\P{Any}+X/8
    ** Failers
No match
    AXYZ
No match
    \x{1234}XYZ
No match
    A\x{1234}XYZ
No match
    XYZ
No match

/^\p{Any}*X/8
    XYZ
 0: X
    AXYZ
 0: AX
    \x{1234}XYZ
 0: \x{1234}X
    A\x{1234}XYZ
 0: A\x{1234}X
    ** Failers
No match

/^\P{Any}*X/8
    XYZ
 0: X
    ** Failers
No match
    AXYZ
No match
    \x{1234}XYZ
No match
    A\x{1234}XYZ
No match

/^[\p{Any}]X/8
    AXYZ
 0: AX
    \x{1234}XYZ 
 0: \x{1234}X
    ** Failers
No match
    X  
No match
    
/^[\P{Any}]X/8
    ** Failers
No match
    AX
No match
    
/^[\p{Any}]?X/8
    XYZ
 0: X
    AXYZ
 0: AX
    \x{1234}XYZ 
 0: \x{1234}X
    ** Failers
No match
    ABXYZ   
No match

/^[\P{Any}]?X/8
    XYZ
 0: X
    ** Failers
No match
    AXYZ
No match
    \x{1234}XYZ 
No match
    ABXYZ   
No match

/^[\p{Any}]+X/8
    AXYZ
 0: AX
    \x{1234}XYZ
 0: \x{1234}X
    A\x{1234}XYZ
 0: A\x{1234}X
    ** Failers
No match
    XYZ
No match

/^[\P{Any}]+X/8
    ** Failers
No match
    AXYZ
No match
    \x{1234}XYZ
No match
    A\x{1234}XYZ
No match
    XYZ
No match

/^[\p{Any}]*X/8
    XYZ
 0: X
    AXYZ
 0: AX
    \x{1234}XYZ
 0: \x{1234}X
    A\x{1234}XYZ
 0: A\x{1234}X
    ** Failers
No match

/^[\P{Any}]*X/8
    XYZ
 0: X
    ** Failers
No match
    AXYZ
No match
    \x{1234}XYZ
No match
    A\x{1234}XYZ
No match

/^\p{Any}{3,5}?/8
    abcdefgh
 0: abc
    \x{1234}\n\r\x{3456}xyz 
 0: \x{1234}\x{0a}\x{0d}

/^\p{Any}{3,5}/8
    abcdefgh
 0: abcde
    \x{1234}\n\r\x{3456}xyz 
 0: \x{1234}\x{0a}\x{0d}\x{3456}x

/^\P{Any}{3,5}?/8
    ** Failers
No match
    abcdefgh
No match
    \x{1234}\n\r\x{3456}xyz 
No match

/^\p{L&}X/8
     AXY
 0: AX
     aXY
 0: aX
     \x{1c5}XY
 0: \x{1c5}X
     ** Failers
No match
     \x{1bb}XY
No match
     \x{2b0}XY
No match
     !XY      
No match

/^[\p{L&}]X/8
     AXY
 0: AX
     aXY
 0: aX
     \x{1c5}XY
 0: \x{1c5}X
     ** Failers
No match
     \x{1bb}XY
No match
     \x{2b0}XY
No match
     !XY      
No match

/^\p{L&}+X/8
     AXY
 0: AX
     aXY
 0: aX
     AbcdeXyz 
 0: AbcdeX
     \x{1c5}AbXY
 0: \x{1c5}AbX
     abcDEXypqreXlmn 
 0: abcDEXypqreX
     ** Failers
No match
     \x{1bb}XY
No match
     \x{2b0}XY
No match
     !XY      
No match

/^[\p{L&}]+X/8
     AXY
 0: AX
     aXY
 0: aX
     AbcdeXyz 
 0: AbcdeX
     \x{1c5}AbXY
 0: \x{1c5}AbX
     abcDEXypqreXlmn 
 0: abcDEXypqreX
     ** Failers
No match
     \x{1bb}XY
No match
     \x{2b0}XY
No match
     !XY      
No match

/^\p{L&}+?X/8
     AXY
 0: AX
     aXY
 0: aX
     AbcdeXyz 
 0: AbcdeX
     \x{1c5}AbXY
 0: \x{1c5}AbX
     abcDEXypqreXlmn 
 0: abcDEX
     ** Failers
No match
     \x{1bb}XY
No match
     \x{2b0}XY
No match
     !XY      
No match

/^[\p{L&}]+?X/8
     AXY
 0: AX
     aXY
 0: aX
     AbcdeXyz 
 0: AbcdeX
     \x{1c5}AbXY
 0: \x{1c5}AbX
     abcDEXypqreXlmn 
 0: abcDEX
     ** Failers
No match
     \x{1bb}XY
No match
     \x{2b0}XY
No match
     !XY      
No match

/^\P{L&}X/8
     !XY
 0: !X
     \x{1bb}XY
 0: \x{1bb}X
     \x{2b0}XY
 0: \x{2b0}X
     ** Failers
No match
     \x{1c5}XY
No match
     AXY      
No match

/^[\P{L&}]X/8
     !XY
 0: !X
     \x{1bb}XY
 0: \x{1bb}X
     \x{2b0}XY
 0: \x{2b0}X
     ** Failers
No match
     \x{1c5}XY
No match
     AXY      
No match

/^(\p{Z}[^\p{C}\p{Z}]+)*$/
    \xa0!
 0: \xa0!
 1: \xa0!

/^[\pL](abc)(?1)/
    AabcabcYZ    
 0: Aabcabc
 1: abc

/([\pL]=(abc))*X/
    L=abcX
 0: L=abcX
 1: L=abc
 2: abc

/^\p{Balinese}\p{Cuneiform}\p{Nko}\p{Phags_Pa}\p{Phoenician}/8
    \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}
 0: \x{1b00}\x{12000}\x{7c0}\x{a840}\x{10900}

/Check property support in non-UTF-8 mode/
 
/\p{L}{4}/
    123abcdefg
 0: abcd
    123abc\xc4\xc5zz
 0: abc\xc4

/\X{1,3}\d/
  \x8aBCD
No match
  
/\X?\d/
  \x8aBCD 
No match

/\P{L}?\d/
  \x8aBCD 
No match

/[\PPP\x8a]{1,}\x80/
    A\x80
 0: A\x80

/^[\p{Arabic}]/8
    \x{604}
 0: \x{604}
    \x{60e} 
 0: \x{60e}
    \x{656} 
 0: \x{656}
    \x{657} 
 0: \x{657}
    \x{658} 
 0: \x{658}
    \x{659} 
 0: \x{659}
    \x{65a} 
 0: \x{65a}
    \x{65b} 
 0: \x{65b}
    \x{65c} 
 0: \x{65c}
    \x{65d} 
 0: \x{65d}
    \x{65e} 
 0: \x{65e}
    \x{65f}
 0: \x{65f}
    \x{66a} 
 0: \x{66a}
    \x{6e9} 
 0: \x{6e9}
    \x{6ef}
 0: \x{6ef}
    \x{6fa}  
 0: \x{6fa}
    ** Failers
No match
    \x{650}
No match
    \x{651}  
No match
    \x{652}  
No match
    \x{653}  
No match
    \x{654} 
No match
    \x{655} 
No match
    
/^\p{Cyrillic}/8
    \x{1d2b} 
 0: \x{1d2b}
    
/^\p{Common}/8
    \x{589}
 0: \x{589}
    \x{60c}
 0: \x{60c}
    \x{61f}  
 0: \x{61f}
    \x{964}
 0: \x{964}
    \x{965}  
 0: \x{965}

/^\p{Inherited}/8
    \x{64b}
 0: \x{64b}
    \x{654}
 0: \x{654}
    \x{655}
 0: \x{655}
    \x{200c} 
 0: \x{200c}
    ** Failers
No match
    \x{64a}
No match
    \x{656}     
No match

/^\p{Shavian}/8
    \x{10450}
 0: \x{10450}
    \x{1047f}
 0: \x{1047f}
    
/^\p{Deseret}/8
    \x{10400}
 0: \x{10400}
    \x{1044f}
 0: \x{1044f}
    
/^\p{Osmanya}/8
    \x{10480}
 0: \x{10480}
    \x{1049d}
 0: \x{1049d}
    \x{104a0}
 0: \x{104a0}
    \x{104a9}
 0: \x{104a9}
    ** Failers
No match
    \x{1049e}
No match
    \x{1049f}
No match
    \x{104aa}           
No match

/\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
    \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}====
 0: \x{102a4}\x{aa52}\x{a91d}\x{1c46}\x{10283}\x{1092e}\x{1c6b}\x{a93b}\x{a8bf}\x{1ba0}\x{a50a}

/\x{a77d}\x{1d79}/8i
    \x{a77d}\x{1d79}
 0: \x{a77d}\x{1d79}
    \x{1d79}\x{a77d} 
 0: \x{1d79}\x{a77d}

/\x{a77d}\x{1d79}/8
    \x{a77d}\x{1d79}
 0: \x{a77d}\x{1d79}
    ** Failers 
No match
    \x{1d79}\x{a77d} 
No match

/(A)\1/8i
    AA
 0: AA
 1: A
    Aa
 0: Aa
 1: A
    aa
 0: aa
 1: a
    aA
 0: aA
 1: a

/(\x{10a})\1/8i
    \x{10a}\x{10a}
 0: \x{10a}\x{10a}
 1: \x{10a}
    \x{10a}\x{10b}
 0: \x{10a}\x{10b}
 1: \x{10a}
    \x{10b}\x{10b}
 0: \x{10b}\x{10b}
 1: \x{10b}
    \x{10b}\x{10a}
 0: \x{10b}\x{10a}
 1: \x{10b}
    
/The next two tests are for property support in non-UTF-8 mode/

/(?:\p{Lu}|\x20)+/
    \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
 0: A P\xc2T\xc9 TODAY

/[\p{Lu}\x20]+/
    \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
 0: A P\xc2T\xc9 TODAY

/\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
    \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}
 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}

/^\w+/8W
    Az_\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
 0: Az_\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}

/^[[:xdigit:]]*/8W
    1a\x{660}\x{bef}\x{16ee}
 0: 1a
  
/^\d+/8W
    1\x{660}\x{bef}\x{16ee}
 0: 1\x{660}\x{bef}
  
/^[[:digit:]]+/8W
    1\x{660}\x{bef}\x{16ee}
 0: 1\x{660}\x{bef}

/^>\s+/8W
    >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b} 
 0: > \x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{09}\x{0b}
  
/^>\pZ+/8W
    >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b} 
 0: > \x{a0}\x{1680}\x{2028}\x{2029}\x{202f}
  
/^>[[:space:]]*/8W
    >\x{20}\x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{9}\x{b} 
 0: > \x{a0}\x{1680}\x{2028}\x{2029}\x{202f}\x{09}\x{0b}

/^>[[:blank:]]*/8W
    >\x{20}\x{a0}\x{1680}\x{180e}\x{2000}\x{202f}\x{9}\x{b}\x{2028} 
 0: > \x{a0}\x{1680}\x{180e}\x{2000}\x{202f}\x{09}

/^[[:alpha:]]*/8W
    Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}
 0: Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}

/^[[:alnum:]]*/8W
    Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}
 0: Az\x{aa}\x{c0}\x{1c5}\x{2b0}\x{3b6}\x{1d7c9}\x{2fa1d}1\x{660}\x{bef}\x{16ee}

/^[[:cntrl:]]*/8W
    \x{0}\x{09}\x{1f}\x{7f}\x{9f} 
 0: \x{00}\x{09}\x{1f}\x{7f}

/^[[:graph:]]*/8W
    A\x{a1}\x{a0}
 0: A\x{a1}

/^[[:print:]]*/8W
    A z\x{a0}\x{a1}
 0: A z\x{a0}\x{a1}

/^[[:punct:]]*/8W
    .+\x{a1}\x{a0}
 0: .+\x{a1}

/\p{Zs}*?\R/
    ** Failers
No match
    a\xFCb   
No match

/\p{Zs}*\R/                                                                    
    ** Failers 
No match
    a\xFCb   
No match

/ⱥ/8i
    ⱥ
 0: \x{2c65}
    Ⱥx 
 0: \x{23a}
    Ⱥ 
 0: \x{23a}

/[ⱥ]/8i
    ⱥ
 0: \x{2c65}
    Ⱥx 
 0: \x{23a}
    Ⱥ 
 0: \x{23a}

/Ⱥ/8i
    Ⱥ
 0: \x{23a}
    ⱥ
 0: \x{2c65}
    
/-- These are tests for extended grapheme clusters --/ 

/^\X/8+
    G\x{34e}\x{34e}X
 0: G\x{34e}\x{34e}
 0+ X
    \x{34e}\x{34e}X
 0: \x{34e}\x{34e}
 0+ X
    \x04X
 0: \x{04}
 0+ X
    \x{1100}X
 0: \x{1100}
 0+ X
    \x{1100}\x{34e}X
 0: \x{1100}\x{34e}
 0+ X
    \x{1b04}\x{1b04}X 
 0: \x{1b04}\x{1b04}
 0+ X
    *These match up to the roman letters
 0: *
 0+ These match up to the roman letters
    \x{1111}\x{1111}L,L
 0: \x{1111}\x{1111}
 0+ L,L
    \x{1111}\x{1111}\x{1169}L,L,V
 0: \x{1111}\x{1111}\x{1169}
 0+ L,L,V
    \x{1111}\x{ae4c}L, LV
 0: \x{1111}\x{ae4c}
 0+ L, LV
    \x{1111}\x{ad89}L, LVT
 0: \x{1111}\x{ad89}
 0+ L, LVT
    \x{1111}\x{ae4c}\x{1169}L, LV, V
 0: \x{1111}\x{ae4c}\x{1169}
 0+ L, LV, V
    \x{1111}\x{ae4c}\x{1169}\x{1169}L, LV, V, V
 0: \x{1111}\x{ae4c}\x{1169}\x{1169}
 0+ L, LV, V, V
    \x{1111}\x{ae4c}\x{1169}\x{11fe}L, LV, V, T
 0: \x{1111}\x{ae4c}\x{1169}\x{11fe}
 0+ L, LV, V, T
    \x{1111}\x{ad89}\x{11fe}L, LVT, T
 0: \x{1111}\x{ad89}\x{11fe}
 0+ L, LVT, T
    \x{1111}\x{ad89}\x{11fe}\x{11fe}L, LVT, T, T
 0: \x{1111}\x{ad89}\x{11fe}\x{11fe}
 0+ L, LVT, T, T
    \x{ad89}\x{11fe}\x{11fe}LVT, T, T
 0: \x{ad89}\x{11fe}\x{11fe}
 0+ LVT, T, T
    *These match just the first codepoint (invalid sequence)
 0: *
 0+ These match just the first codepoint (invalid sequence)
    \x{1111}\x{11fe}L, T
 0: \x{1111}
 0+ \x{11fe}L, T
    \x{ae4c}\x{1111}LV, L
 0: \x{ae4c}
 0+ \x{1111}LV, L
    \x{ae4c}\x{ae4c}LV, LV
 0: \x{ae4c}
 0+ \x{ae4c}LV, LV
    \x{ae4c}\x{ad89}LV, LVT
 0: \x{ae4c}
 0+ \x{ad89}LV, LVT
    \x{1169}\x{1111}V, L
 0: \x{1169}
 0+ \x{1111}V, L
    \x{1169}\x{ae4c}V, LV
 0: \x{1169}
 0+ \x{ae4c}V, LV
    \x{1169}\x{ad89}V, LVT
 0: \x{1169}
 0+ \x{ad89}V, LVT
    \x{ad89}\x{1111}LVT, L
 0: \x{ad89}
 0+ \x{1111}LVT, L
    \x{ad89}\x{1169}LVT, V
 0: \x{ad89}
 0+ \x{1169}LVT, V
    \x{ad89}\x{ae4c}LVT, LV
 0: \x{ad89}
 0+ \x{ae4c}LVT, LV
    \x{ad89}\x{ad89}LVT, LVT
 0: \x{ad89}
 0+ \x{ad89}LVT, LVT
    \x{11fe}\x{1111}T, L
 0: \x{11fe}
 0+ \x{1111}T, L
    \x{11fe}\x{1169}T, V
 0: \x{11fe}
 0+ \x{1169}T, V
    \x{11fe}\x{ae4c}T, LV
 0: \x{11fe}
 0+ \x{ae4c}T, LV
    \x{11fe}\x{ad89}T, LVT
 0: \x{11fe}
 0+ \x{ad89}T, LVT
    *Test extend and spacing mark
 0: *
 0+ Test extend and spacing mark
    \x{1111}\x{ae4c}\x{0711}L, LV, extend
 0: \x{1111}\x{ae4c}\x{711}
 0+ L, LV, extend
    \x{1111}\x{ae4c}\x{1b04}L, LV, spacing mark
 0: \x{1111}\x{ae4c}\x{1b04}
 0+ L, LV, spacing mark
    \x{1111}\x{ae4c}\x{1b04}\x{0711}\x{1b04}L, LV, spacing mark, extend, spacing mark
 0: \x{1111}\x{ae4c}\x{1b04}\x{711}\x{1b04}
 0+ L, LV, spacing mark, extend, spacing mark
    *Test CR, LF, and control
 0: *
 0+ Test CR, LF, and control
    \x0d\x{0711}CR, extend
 0: \x{0d}
 0+ \x{711}CR, extend
    \x0d\x{1b04}CR, spacingmark
 0: \x{0d}
 0+ \x{1b04}CR, spacingmark
    \x0a\x{0711}LF, extend
 0: \x{0a}
 0+ \x{711}LF, extend
    \x0a\x{1b04}LF, spacingmark
 0: \x{0a}
 0+ \x{1b04}LF, spacingmark
    \x0b\x{0711}Control, extend
 0: \x{0b}
 0+ \x{711}Control, extend
    \x09\x{1b04}Control, spacingmark
 0: \x{09}
 0+ \x{1b04}Control, spacingmark
    *There are no Prepend characters, so we can't test Prepend, CR
 0: *
 0+ There are no Prepend characters, so we can't test Prepend, CR
    
/^(?>\X{2})X/8+
    \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0+ 
    
/^\X{2,4}X/8+
    \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0+ 
    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0+ 
    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0+ 

/^\X{2,4}?X/8+
    \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0+ 
    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0+ 
    \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X
 0+ 

/\X*Z/8Y
  A\x{300}
No match

/\X*(.)/8Y
  A\x{1111}\x{ae4c}\x{1169}
 0: A\x{1111}
 1: \x{1111}

/\X?abc/8Y
\xff\x7f\x00\x00\x03\x00\x41\xcc\x80\x41\x{300}\x61\x62\x63\x00\>06\?
 0: A\x{300}abc

/-- --/

/\x{1e9e}+/8i
    \x{1e9e}\x{00df}
 0: \x{1e9e}\x{df}

/[z\x{1e9e}]+/8i
    \x{1e9e}\x{00df}
 0: \x{1e9e}\x{df}

/\x{00df}+/8i
    \x{1e9e}\x{00df}
 0: \x{1e9e}\x{df}

/[z\x{00df}]+/8i
    \x{1e9e}\x{00df}
 0: \x{1e9e}\x{df}

/\x{1f88}+/8i
    \x{1f88}\x{1f80} 
 0: \x{1f88}\x{1f80}

/[z\x{1f88}]+/8i
    \x{1f88}\x{1f80} 
 0: \x{1f88}\x{1f80}
    
/-- Characters with more than one other case; test in classes --/

/[z\x{00b5}]+/8i
    \x{00b5}\x{039c}\x{03bc}
 0: \x{b5}\x{39c}\x{3bc}

/[z\x{039c}]+/8i
    \x{00b5}\x{039c}\x{03bc}
 0: \x{b5}\x{39c}\x{3bc}

/[z\x{03bc}]+/8i
    \x{00b5}\x{039c}\x{03bc}
 0: \x{b5}\x{39c}\x{3bc}

/[z\x{00c5}]+/8i
    \x{00c5}\x{00e5}\x{212b}
 0: \x{c5}\x{e5}\x{212b}

/[z\x{00e5}]+/8i
    \x{00c5}\x{00e5}\x{212b}
 0: \x{c5}\x{e5}\x{212b}

/[z\x{212b}]+/8i
    \x{00c5}\x{00e5}\x{212b}
 0: \x{c5}\x{e5}\x{212b}

/[z\x{01c4}]+/8i
    \x{01c4}\x{01c5}\x{01c6}
 0: \x{1c4}\x{1c5}\x{1c6}

/[z\x{01c5}]+/8i
    \x{01c4}\x{01c5}\x{01c6}
 0: \x{1c4}\x{1c5}\x{1c6}

/[z\x{01c6}]+/8i
    \x{01c4}\x{01c5}\x{01c6}
 0: \x{1c4}\x{1c5}\x{1c6}

/[z\x{01c7}]+/8i
    \x{01c7}\x{01c8}\x{01c9}
 0: \x{1c7}\x{1c8}\x{1c9}

/[z\x{01c8}]+/8i
    \x{01c7}\x{01c8}\x{01c9}
 0: \x{1c7}\x{1c8}\x{1c9}

/[z\x{01c9}]+/8i
    \x{01c7}\x{01c8}\x{01c9}
 0: \x{1c7}\x{1c8}\x{1c9}

/[z\x{01ca}]+/8i
    \x{01ca}\x{01cb}\x{01cc}
 0: \x{1ca}\x{1cb}\x{1cc}

/[z\x{01cb}]+/8i
    \x{01ca}\x{01cb}\x{01cc}
 0: \x{1ca}\x{1cb}\x{1cc}

/[z\x{01cc}]+/8i
    \x{01ca}\x{01cb}\x{01cc}
 0: \x{1ca}\x{1cb}\x{1cc}

/[z\x{01f1}]+/8i
    \x{01f1}\x{01f2}\x{01f3}
 0: \x{1f1}\x{1f2}\x{1f3}

/[z\x{01f2}]+/8i
    \x{01f1}\x{01f2}\x{01f3}
 0: \x{1f1}\x{1f2}\x{1f3}

/[z\x{01f3}]+/8i
    \x{01f1}\x{01f2}\x{01f3}
 0: \x{1f1}\x{1f2}\x{1f3}

/[z\x{0345}]+/8i
    \x{0345}\x{0399}\x{03b9}\x{1fbe}
 0: \x{345}\x{399}\x{3b9}\x{1fbe}

/[z\x{0399}]+/8i
    \x{0345}\x{0399}\x{03b9}\x{1fbe}
 0: \x{345}\x{399}\x{3b9}\x{1fbe}

/[z\x{03b9}]+/8i
    \x{0345}\x{0399}\x{03b9}\x{1fbe}
 0: \x{345}\x{399}\x{3b9}\x{1fbe}

/[z\x{1fbe}]+/8i
    \x{0345}\x{0399}\x{03b9}\x{1fbe}
 0: \x{345}\x{399}\x{3b9}\x{1fbe}

/[z\x{0392}]+/8i
    \x{0392}\x{03b2}\x{03d0}
 0: \x{392}\x{3b2}\x{3d0}

/[z\x{03b2}]+/8i
    \x{0392}\x{03b2}\x{03d0}
 0: \x{392}\x{3b2}\x{3d0}

/[z\x{03d0}]+/8i
    \x{0392}\x{03b2}\x{03d0}
 0: \x{392}\x{3b2}\x{3d0}

/[z\x{0395}]+/8i
    \x{0395}\x{03b5}\x{03f5}
 0: \x{395}\x{3b5}\x{3f5}

/[z\x{03b5}]+/8i
    \x{0395}\x{03b5}\x{03f5}
 0: \x{395}\x{3b5}\x{3f5}

/[z\x{03f5}]+/8i
    \x{0395}\x{03b5}\x{03f5}
 0: \x{395}\x{3b5}\x{3f5}

/[z\x{0398}]+/8i
    \x{0398}\x{03b8}\x{03d1}\x{03f4}
 0: \x{398}\x{3b8}\x{3d1}\x{3f4}

/[z\x{03b8}]+/8i
    \x{0398}\x{03b8}\x{03d1}\x{03f4}
 0: \x{398}\x{3b8}\x{3d1}\x{3f4}

/[z\x{03d1}]+/8i
    \x{0398}\x{03b8}\x{03d1}\x{03f4}
 0: \x{398}\x{3b8}\x{3d1}\x{3f4}

/[z\x{03f4}]+/8i
    \x{0398}\x{03b8}\x{03d1}\x{03f4}
 0: \x{398}\x{3b8}\x{3d1}\x{3f4}

/[z\x{039a}]+/8i
    \x{039a}\x{03ba}\x{03f0}
 0: \x{39a}\x{3ba}\x{3f0}

/[z\x{03ba}]+/8i
    \x{039a}\x{03ba}\x{03f0}
 0: \x{39a}\x{3ba}\x{3f0}

/[z\x{03f0}]+/8i
    \x{039a}\x{03ba}\x{03f0}
 0: \x{39a}\x{3ba}\x{3f0}

/[z\x{03a0}]+/8i
    \x{03a0}\x{03c0}\x{03d6} 
 0: \x{3a0}\x{3c0}\x{3d6}

/[z\x{03c0}]+/8i
    \x{03a0}\x{03c0}\x{03d6} 
 0: \x{3a0}\x{3c0}\x{3d6}

/[z\x{03d6}]+/8i
    \x{03a0}\x{03c0}\x{03d6} 
 0: \x{3a0}\x{3c0}\x{3d6}

/[z\x{03a1}]+/8i
    \x{03a1}\x{03c1}\x{03f1}
 0: \x{3a1}\x{3c1}\x{3f1}

/[z\x{03c1}]+/8i
    \x{03a1}\x{03c1}\x{03f1}
 0: \x{3a1}\x{3c1}\x{3f1}

/[z\x{03f1}]+/8i
    \x{03a1}\x{03c1}\x{03f1}
 0: \x{3a1}\x{3c1}\x{3f1}

/[z\x{03a3}]+/8i
    \x{03A3}\x{03C2}\x{03C3}
 0: \x{3a3}\x{3c2}\x{3c3}

/[z\x{03c2}]+/8i
    \x{03A3}\x{03C2}\x{03C3}
 0: \x{3a3}\x{3c2}\x{3c3}

/[z\x{03c3}]+/8i
    \x{03A3}\x{03C2}\x{03C3}
 0: \x{3a3}\x{3c2}\x{3c3}

/[z\x{03a6}]+/8i
    \x{03a6}\x{03c6}\x{03d5} 
 0: \x{3a6}\x{3c6}\x{3d5}

/[z\x{03c6}]+/8i
    \x{03a6}\x{03c6}\x{03d5} 
 0: \x{3a6}\x{3c6}\x{3d5}

/[z\x{03d5}]+/8i
    \x{03a6}\x{03c6}\x{03d5} 
 0: \x{3a6}\x{3c6}\x{3d5}

/[z\x{03c9}]+/8i
    \x{03c9}\x{03a9}\x{2126}
 0: \x{3c9}\x{3a9}\x{2126}

/[z\x{03a9}]+/8i
    \x{03c9}\x{03a9}\x{2126}
 0: \x{3c9}\x{3a9}\x{2126}

/[z\x{2126}]+/8i
    \x{03c9}\x{03a9}\x{2126}
 0: \x{3c9}\x{3a9}\x{2126}

/[z\x{1e60}]+/8i
    \x{1e60}\x{1e61}\x{1e9b}
 0: \x{1e60}\x{1e61}\x{1e9b}

/[z\x{1e61}]+/8i
    \x{1e60}\x{1e61}\x{1e9b}
 0: \x{1e60}\x{1e61}\x{1e9b}

/[z\x{1e9b}]+/8i
    \x{1e60}\x{1e61}\x{1e9b}
 0: \x{1e60}\x{1e61}\x{1e9b}

/-- Perl 5.12.4 gets these wrong, but 5.15.3 is OK --/

/[z\x{004b}]+/8i
    \x{004b}\x{006b}\x{212a}
 0: Kk\x{212a}

/[z\x{006b}]+/8i
    \x{004b}\x{006b}\x{212a}
 0: Kk\x{212a}

/[z\x{212a}]+/8i
    \x{004b}\x{006b}\x{212a}
 0: Kk\x{212a}

/[z\x{0053}]+/8i
    \x{0053}\x{0073}\x{017f}
 0: Ss\x{17f}

/[z\x{0073}]+/8i
    \x{0053}\x{0073}\x{017f}
 0: Ss\x{17f}

/[z\x{017f}]+/8i
    \x{0053}\x{0073}\x{017f}
 0: Ss\x{17f}
    
/-- --/ 

/(ΣΆΜΟΣ) \1/8i
    ΣΆΜΟΣ ΣΆΜΟΣ
 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3} \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
    ΣΆΜΟΣ σάμος
 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
    σάμος σάμος
 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
    σάμος σάμοσ
 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c3}
 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
    σάμος ΣΆΜΟΣ  
 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}

/(σάμος) \1/8i
    ΣΆΜΟΣ ΣΆΜΟΣ
 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3} \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
    ΣΆΜΟΣ σάμος
 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
    σάμος σάμος
 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
    σάμος σάμοσ
 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c3}
 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}
    σάμος ΣΆΜΟΣ  
 0: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2} \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
 1: \x{3c3}\x{3ac}\x{3bc}\x{3bf}\x{3c2}

/(ΣΆΜΟΣ) \1*/8i
    ΣΆΜΟΣ\x20
 0: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3} 
 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}
    ΣΆΜΟΣ ΣΆΜΟΣσάμοςσάμος
 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}
 1: \x{3a3}\x{386}\x{39c}\x{39f}\x{3a3}

/-- Perl matches these --/

/\x{00b5}+/8i
    \x{00b5}\x{039c}\x{03bc}
 0: \x{b5}\x{39c}\x{3bc}

/\x{039c}+/8i
    \x{00b5}\x{039c}\x{03bc}
 0: \x{b5}\x{39c}\x{3bc}

/\x{03bc}+/8i
    \x{00b5}\x{039c}\x{03bc}
 0: \x{b5}\x{39c}\x{3bc}


/\x{00c5}+/8i
    \x{00c5}\x{00e5}\x{212b}
 0: \x{c5}\x{e5}\x{212b}

/\x{00e5}+/8i
    \x{00c5}\x{00e5}\x{212b}
 0: \x{c5}\x{e5}\x{212b}

/\x{212b}+/8i
    \x{00c5}\x{00e5}\x{212b}
 0: \x{c5}\x{e5}\x{212b}


/\x{01c4}+/8i
    \x{01c4}\x{01c5}\x{01c6}
 0: \x{1c4}\x{1c5}\x{1c6}

/\x{01c5}+/8i
    \x{01c4}\x{01c5}\x{01c6}
 0: \x{1c4}\x{1c5}\x{1c6}

/\x{01c6}+/8i
    \x{01c4}\x{01c5}\x{01c6}
 0: \x{1c4}\x{1c5}\x{1c6}


/\x{01c7}+/8i
    \x{01c7}\x{01c8}\x{01c9}
 0: \x{1c7}\x{1c8}\x{1c9}

/\x{01c8}+/8i
    \x{01c7}\x{01c8}\x{01c9}
 0: \x{1c7}\x{1c8}\x{1c9}

/\x{01c9}+/8i
    \x{01c7}\x{01c8}\x{01c9}
 0: \x{1c7}\x{1c8}\x{1c9}


/\x{01ca}+/8i
    \x{01ca}\x{01cb}\x{01cc}
 0: \x{1ca}\x{1cb}\x{1cc}

/\x{01cb}+/8i
    \x{01ca}\x{01cb}\x{01cc}
 0: \x{1ca}\x{1cb}\x{1cc}

/\x{01cc}+/8i
    \x{01ca}\x{01cb}\x{01cc}
 0: \x{1ca}\x{1cb}\x{1cc}


/\x{01f1}+/8i
    \x{01f1}\x{01f2}\x{01f3}
 0: \x{1f1}\x{1f2}\x{1f3}

/\x{01f2}+/8i
    \x{01f1}\x{01f2}\x{01f3}
 0: \x{1f1}\x{1f2}\x{1f3}

/\x{01f3}+/8i
    \x{01f1}\x{01f2}\x{01f3}
 0: \x{1f1}\x{1f2}\x{1f3}


/\x{0345}+/8i
    \x{0345}\x{0399}\x{03b9}\x{1fbe}
 0: \x{345}\x{399}\x{3b9}\x{1fbe}

/\x{0399}+/8i
    \x{0345}\x{0399}\x{03b9}\x{1fbe}
 0: \x{345}\x{399}\x{3b9}\x{1fbe}

/\x{03b9}+/8i
    \x{0345}\x{0399}\x{03b9}\x{1fbe}
 0: \x{345}\x{399}\x{3b9}\x{1fbe}

/\x{1fbe}+/8i
    \x{0345}\x{0399}\x{03b9}\x{1fbe}
 0: \x{345}\x{399}\x{3b9}\x{1fbe}


/\x{0392}+/8i
    \x{0392}\x{03b2}\x{03d0}
 0: \x{392}\x{3b2}\x{3d0}

/\x{03b2}+/8i
    \x{0392}\x{03b2}\x{03d0}
 0: \x{392}\x{3b2}\x{3d0}

/\x{03d0}+/8i
    \x{0392}\x{03b2}\x{03d0}
 0: \x{392}\x{3b2}\x{3d0}
    

/\x{0395}+/8i
    \x{0395}\x{03b5}\x{03f5}
 0: \x{395}\x{3b5}\x{3f5}

/\x{03b5}+/8i
    \x{0395}\x{03b5}\x{03f5}
 0: \x{395}\x{3b5}\x{3f5}

/\x{03f5}+/8i
    \x{0395}\x{03b5}\x{03f5}
 0: \x{395}\x{3b5}\x{3f5}


/\x{0398}+/8i
    \x{0398}\x{03b8}\x{03d1}\x{03f4}
 0: \x{398}\x{3b8}\x{3d1}\x{3f4}

/\x{03b8}+/8i
    \x{0398}\x{03b8}\x{03d1}\x{03f4}
 0: \x{398}\x{3b8}\x{3d1}\x{3f4}

/\x{03d1}+/8i
    \x{0398}\x{03b8}\x{03d1}\x{03f4}
 0: \x{398}\x{3b8}\x{3d1}\x{3f4}

/\x{03f4}+/8i
    \x{0398}\x{03b8}\x{03d1}\x{03f4}
 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
    

/\x{039a}+/8i
    \x{039a}\x{03ba}\x{03f0}
 0: \x{39a}\x{3ba}\x{3f0}

/\x{03ba}+/8i
    \x{039a}\x{03ba}\x{03f0}
 0: \x{39a}\x{3ba}\x{3f0}

/\x{03f0}+/8i
    \x{039a}\x{03ba}\x{03f0}
 0: \x{39a}\x{3ba}\x{3f0}
    

/\x{03a0}+/8i
    \x{03a0}\x{03c0}\x{03d6} 
 0: \x{3a0}\x{3c0}\x{3d6}

/\x{03c0}+/8i
    \x{03a0}\x{03c0}\x{03d6} 
 0: \x{3a0}\x{3c0}\x{3d6}

/\x{03d6}+/8i
    \x{03a0}\x{03c0}\x{03d6} 
 0: \x{3a0}\x{3c0}\x{3d6}


/\x{03a1}+/8i
    \x{03a1}\x{03c1}\x{03f1}
 0: \x{3a1}\x{3c1}\x{3f1}

/\x{03c1}+/8i
    \x{03a1}\x{03c1}\x{03f1}
 0: \x{3a1}\x{3c1}\x{3f1}

/\x{03f1}+/8i
    \x{03a1}\x{03c1}\x{03f1}
 0: \x{3a1}\x{3c1}\x{3f1}


/\x{03a3}+/8i
    \x{03A3}\x{03C2}\x{03C3}
 0: \x{3a3}\x{3c2}\x{3c3}

/\x{03c2}+/8i
    \x{03A3}\x{03C2}\x{03C3}
 0: \x{3a3}\x{3c2}\x{3c3}

/\x{03c3}+/8i
    \x{03A3}\x{03C2}\x{03C3}
 0: \x{3a3}\x{3c2}\x{3c3}
    

/\x{03a6}+/8i
    \x{03a6}\x{03c6}\x{03d5} 
 0: \x{3a6}\x{3c6}\x{3d5}

/\x{03c6}+/8i
    \x{03a6}\x{03c6}\x{03d5} 
 0: \x{3a6}\x{3c6}\x{3d5}

/\x{03d5}+/8i
    \x{03a6}\x{03c6}\x{03d5} 
 0: \x{3a6}\x{3c6}\x{3d5}


/\x{03c9}+/8i
    \x{03c9}\x{03a9}\x{2126}
 0: \x{3c9}\x{3a9}\x{2126}

/\x{03a9}+/8i
    \x{03c9}\x{03a9}\x{2126}
 0: \x{3c9}\x{3a9}\x{2126}

/\x{2126}+/8i
    \x{03c9}\x{03a9}\x{2126}
 0: \x{3c9}\x{3a9}\x{2126}
    

/\x{1e60}+/8i
    \x{1e60}\x{1e61}\x{1e9b}
 0: \x{1e60}\x{1e61}\x{1e9b}

/\x{1e61}+/8i
    \x{1e60}\x{1e61}\x{1e9b}
 0: \x{1e60}\x{1e61}\x{1e9b}

/\x{1e9b}+/8i
    \x{1e60}\x{1e61}\x{1e9b}
 0: \x{1e60}\x{1e61}\x{1e9b}
    

/\x{1e9e}+/8i
    \x{1e9e}\x{00df}
 0: \x{1e9e}\x{df}

/\x{00df}+/8i
    \x{1e9e}\x{00df}
 0: \x{1e9e}\x{df}
    

/\x{1f88}+/8i
    \x{1f88}\x{1f80} 
 0: \x{1f88}\x{1f80}

/\x{1f80}+/8i
    \x{1f88}\x{1f80} 
 0: \x{1f88}\x{1f80}


/-- Perl 5.12.4 gets these wrong, but 5.15.3 is OK --/

/\x{004b}+/8i
    \x{004b}\x{006b}\x{212a}
 0: Kk\x{212a}

/\x{006b}+/8i
    \x{004b}\x{006b}\x{212a}
 0: Kk\x{212a}

/\x{212a}+/8i
    \x{004b}\x{006b}\x{212a}
 0: Kk\x{212a}


/\x{0053}+/8i
    \x{0053}\x{0073}\x{017f}
 0: Ss\x{17f}

/\x{0073}+/8i
    \x{0053}\x{0073}\x{017f}
 0: Ss\x{17f}

/\x{017f}+/8i
    \x{0053}\x{0073}\x{017f}
 0: Ss\x{17f}

/^\p{Any}*\d{4}/8
    1234
 0: 1234
    123 
No match

/^\X*\w{4}/8
    1234
 0: 1234
    123  
No match

/^A\s+Z/8W
    A\x{2005}Z
 0: A\x{2005}Z
    A\x{85}\x{180e}\x{2005}Z
 0: A\x{85}\x{180e}\x{2005}Z

/^A[\s]+Z/8W
    A\x{2005}Z
 0: A\x{2005}Z
    A\x{85}\x{180e}\x{2005}Z
 0: A\x{85}\x{180e}\x{2005}Z

/^[[:graph:]]+$/8W
    Letter:ABC
 0: Letter:ABC
    Mark:\x{300}\x{1d172}\x{1d17b}
 0: Mark:\x{300}\x{1d172}\x{1d17b}
    Number:9\x{660}
 0: Number:9\x{660}
    Punctuation:\x{66a},;
 0: Punctuation:\x{66a},;
    Symbol:\x{6de}<>\x{fffc}
 0: Symbol:\x{6de}<>\x{fffc}
    Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
 0: Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
    \x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
 0: \x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
    \x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
 0: \x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
    \x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
 0: \x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
    \x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
 0: \x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
    \x{feff}
 0: \x{feff}
    \x{fff9}\x{fffa}\x{fffb}
 0: \x{fff9}\x{fffa}\x{fffb}
    \x{110bd}
 0: \x{110bd}
    \x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
 0: \x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
    \x{e0001}
 0: \x{e0001}
    \x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
 0: \x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
    ** Failers
No match
    \x{09}
No match
    \x{0a}
No match
    \x{1D}
No match
    \x{20}
No match
    \x{85}
No match
    \x{a0}
No match
    \x{61c}
No match
    \x{1680}
No match
    \x{180e}
No match
    \x{2028}
No match
    \x{2029}
No match
    \x{202f}
No match
    \x{2065}
No match
    \x{2066}
No match
    \x{2067}
No match
    \x{2068}
No match
    \x{2069}
No match
    \x{3000}
No match
    \x{e0002}
No match
    \x{e001f}
No match
    \x{e0080} 
No match

/^[[:print:]]+$/8W
    Space: \x{a0}
 0: Space: \x{a0}
    \x{1680}\x{2000}\x{2001}\x{2002}\x{2003}\x{2004}\x{2005}
 0: \x{1680}\x{2000}\x{2001}\x{2002}\x{2003}\x{2004}\x{2005}
    \x{2006}\x{2007}\x{2008}\x{2009}\x{200a} 
 0: \x{2006}\x{2007}\x{2008}\x{2009}\x{200a}
    \x{202f}\x{205f} 
 0: \x{202f}\x{205f}
    \x{3000}
 0: \x{3000}
    Letter:ABC
 0: Letter:ABC
    Mark:\x{300}\x{1d172}\x{1d17b}
 0: Mark:\x{300}\x{1d172}\x{1d17b}
    Number:9\x{660}
 0: Number:9\x{660}
    Punctuation:\x{66a},;
 0: Punctuation:\x{66a},;
    Symbol:\x{6de}<>\x{fffc}
 0: Symbol:\x{6de}<>\x{fffc}
    Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
 0: Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
    \x{180e}
 0: \x{180e}
    \x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
 0: \x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
    \x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
 0: \x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
    \x{202f}
 0: \x{202f}
    \x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
 0: \x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
    \x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
 0: \x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
    \x{feff}
 0: \x{feff}
    \x{fff9}\x{fffa}\x{fffb}
 0: \x{fff9}\x{fffa}\x{fffb}
    \x{110bd}
 0: \x{110bd}
    \x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
 0: \x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
    \x{e0001}
 0: \x{e0001}
    \x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
 0: \x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
    ** Failers
 0: ** Failers
    \x{09}
No match
    \x{1D}
No match
    \x{85}
No match
    \x{61c}
No match
    \x{2028}
No match
    \x{2029}
No match
    \x{2065}
No match
    \x{2066}
No match
    \x{2067}
No match
    \x{2068}
No match
    \x{2069}
No match
    \x{e0002}
No match
    \x{e001f}
No match
    \x{e0080} 
No match

/^[[:punct:]]+$/8W
    \$+<=>^`|~
 0: $+<=>^`|~
    !\"#%&'()*,-./:;?@[\\]_{}
 0: !"#%&'()*,-./:;?@[\]_{}
    \x{a1}\x{a7}  
 0: \x{a1}\x{a7}
    \x{37e} 
 0: \x{37e}
    ** Failers
No match
    abcde  
No match

/^[[:^graph:]]+$/8W
    \x{09}\x{0a}\x{1D}\x{20}\x{85}\x{a0}\x{61c}\x{1680}\x{180e}
 0: \x{09}\x{0a}\x{1d} \x{85}\x{a0}\x{61c}\x{1680}\x{180e}
    \x{2028}\x{2029}\x{202f}\x{2065}\x{2066}\x{2067}\x{2068}\x{2069}
 0: \x{2028}\x{2029}\x{202f}\x{2065}\x{2066}\x{2067}\x{2068}\x{2069}
    \x{3000}\x{e0002}\x{e001f}\x{e0080}
 0: \x{3000}\x{e0002}\x{e001f}\x{e0080}
    ** Failers
No match
    Letter:ABC
No match
    Mark:\x{300}\x{1d172}\x{1d17b}
No match
    Number:9\x{660}
No match
    Punctuation:\x{66a},;
No match
    Symbol:\x{6de}<>\x{fffc}
No match
    Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
No match
    \x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
No match
    \x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
No match
    \x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
No match
    \x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
No match
    \x{feff}
No match
    \x{fff9}\x{fffa}\x{fffb}
No match
    \x{110bd}
No match
    \x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
No match
    \x{e0001}
No match
    \x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
No match

/^[[:^print:]]+$/8W
    \x{09}\x{1D}\x{85}\x{61c}\x{2028}\x{2029}\x{2065}\x{2066}\x{2067}
 0: \x{09}\x{1d}\x{85}\x{61c}\x{2028}\x{2029}\x{2065}\x{2066}\x{2067}
    \x{2068}\x{2069}\x{e0002}\x{e001f}\x{e0080}
 0: \x{2068}\x{2069}\x{e0002}\x{e001f}\x{e0080}
    ** Failers
No match
    Space: \x{a0}
No match
    \x{1680}\x{2000}\x{2001}\x{2002}\x{2003}\x{2004}\x{2005}
No match
    \x{2006}\x{2007}\x{2008}\x{2009}\x{200a} 
No match
    \x{202f}\x{205f} 
No match
    \x{3000}
No match
    Letter:ABC
No match
    Mark:\x{300}\x{1d172}\x{1d17b}
No match
    Number:9\x{660}
No match
    Punctuation:\x{66a},;
No match
    Symbol:\x{6de}<>\x{fffc}
No match
    Cf-property:\x{ad}\x{600}\x{601}\x{602}\x{603}\x{604}\x{6dd}\x{70f}
No match
    \x{180e}
No match
    \x{200b}\x{200c}\x{200d}\x{200e}\x{200f}
No match
    \x{202a}\x{202b}\x{202c}\x{202d}\x{202e}
No match
    \x{202f}
No match
    \x{2060}\x{2061}\x{2062}\x{2063}\x{2064}
No match
    \x{206a}\x{206b}\x{206c}\x{206d}\x{206e}\x{206f}
No match
    \x{feff}
No match
    \x{fff9}\x{fffa}\x{fffb}
No match
    \x{110bd}
No match
    \x{1d173}\x{1d174}\x{1d175}\x{1d176}\x{1d177}\x{1d178}\x{1d179}\x{1d17a}
No match
    \x{e0001}
No match
    \x{e0020}\x{e0030}\x{e0040}\x{e0050}\x{e0060}\x{e0070}\x{e007f}
No match

/^[[:^punct:]]+$/8W
    abcde  
 0: abcde
    ** Failers
No match
    \$+<=>^`|~
No match
    !\"#%&'()*,-./:;?@[\\]_{}
No match
    \x{a1}\x{a7}  
No match
    \x{37e} 
No match

/[RST]+/8iW
    Ss\x{17f}
 0: Ss\x{17f}
    
/[R-T]+/8iW 
    Ss\x{17f}
 0: Ss\x{17f}

/[q-u]+/8iW 
    Ss\x{17f}
 0: Ss\x{17f}

/^s?c/mi8
    scat
 0: sc

/[A-`]/i8
    abcdefghijklmno
 0: a

/\C\X*QT/8
    Ӆ\x0aT
No match

/[\pS#moq]/
    =
 0: =

/[[:punct:]]/8W
    \xc2\xb4
No match
    \x{b4} 
No match

/[[:^ascii:]]/8W
    \x{100}
 0: \x{100}
    \x{200}
 0: \x{200}
    \x{300}
 0: \x{300}
    \x{37e}
 0: \x{37e}
    a
No match
    9
No match
    g
No match

/[[:^ascii:]\w]/8W
    a
 0: a
    9
 0: 9
    g
 0: g
    \x{100}
 0: \x{100}
    \x{200}
 0: \x{200}
    \x{300}
 0: \x{300}
    \x{37e}
 0: \x{37e}

/[\w[:^ascii:]]/8W
    a
 0: a
    9
 0: 9
    g
 0: g
    \x{100}
 0: \x{100}
    \x{200}
 0: \x{200}
    \x{300}
 0: \x{300}
    \x{37e}
 0: \x{37e}

/[^[:ascii:]\W]/8W
    a
No match
    9
No match
    g
No match
    \x{100}
 0: \x{100}
    \x{200}
 0: \x{200}
    \x{300}
No match
    \x{37e}
No match

/[[:^ascii:]a]/8W
    a
 0: a
    9
No match
    g
No match
    \x{100}
 0: \x{100}
    \x{200}
 0: \x{200}
    \x{37e}
 0: \x{37e}

/[^[:^ascii:]\d]/8W
    a
 0: a
    ~
 0: ~
    0
No match
    \a
 0: \x{07}
    \x{7f}
 0: \x{7f}
    \x{389}
No match
    \x{20ac}
No match

/(?=.*b)\pL/
    11bb
 0: b
    
/(?(?=.*b)(?=.*b)\pL|.*c)/
    11bb
 0: b

/-- End of testinput6 --/