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