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