Home | History | Annotate | Download | only in testdata
      1 /-- These tests for Unicode property support test PCRE's API and show some of
      2     the compiled code. They are not Perl-compatible. --/
      3 
      4 /[\p{L}]/DZ
      5 
      6 /[\p{^L}]/DZ
      7 
      8 /[\P{L}]/DZ
      9 
     10 /[\P{^L}]/DZ
     11 
     12 /[abc\p{L}\x{0660}]/8DZ
     13 
     14 /[\p{Nd}]/8DZ
     15     1234
     16 
     17 /[\p{Nd}+-]+/8DZ
     18     1234
     19     12-34
     20     12+\x{661}-34  
     21     ** Failers
     22     abcd  
     23 
     24 /[\x{105}-\x{109}]/8iDZ
     25     \x{104}
     26     \x{105}
     27     \x{109}  
     28     ** Failers
     29     \x{100}
     30     \x{10a} 
     31     
     32 /[z-\x{100}]/8iDZ 
     33     Z
     34     z
     35     \x{39c}
     36     \x{178}
     37     |
     38     \x{80}
     39     \x{ff}
     40     \x{100}
     41     \x{101} 
     42     ** Failers
     43     \x{102}
     44     Y
     45     y           
     46 
     47 /[z-\x{100}]/8DZi
     48 
     49 /(?:[\PPa*]*){8,}/
     50 
     51 /[\P{Any}]/BZ
     52 
     53 /[\P{Any}\E]/BZ
     54 
     55 /(\P{Yi}+\277)/
     56 
     57 /(\P{Yi}+\277)?/
     58 
     59 /(?<=\P{Yi}{3}A)X/
     60 
     61 /\p{Yi}+(\P{Yi}+)(?1)/
     62 
     63 /(\P{Yi}{2}\277)?/
     64 
     65 /[\P{Yi}A]/
     66 
     67 /[\P{Yi}\P{Yi}\P{Yi}A]/
     68 
     69 /[^\P{Yi}A]/
     70 
     71 /[^\P{Yi}\P{Yi}\P{Yi}A]/
     72 
     73 /(\P{Yi}*\277)*/
     74 
     75 /(\P{Yi}*?\277)*/
     76 
     77 /(\p{Yi}*+\277)*/
     78 
     79 /(\P{Yi}?\277)*/
     80 
     81 /(\P{Yi}??\277)*/
     82 
     83 /(\p{Yi}?+\277)*/
     84 
     85 /(\P{Yi}{0,3}\277)*/
     86 
     87 /(\P{Yi}{0,3}?\277)*/
     88 
     89 /(\p{Yi}{0,3}+\277)*/
     90 
     91 /\p{Zl}{2,3}+/8BZ
     92     
     95     \x{2028}\x{2028}\x{2028}
     96     
     97 /\p{Zl}/8BZ
     98 
     99 /\p{Lu}{3}+/8BZ
    100 
    101 /\pL{2}+/8BZ
    102 
    103 /\p{Cc}{2}+/8BZ
    104 
    105 /^\p{Cf}/8
    106     \x{180e}
    107     \x{061c}
    108     \x{2066}
    109     \x{2067}
    110     \x{2068}
    111     \x{2069}
    112 
    113 /^\p{Cs}/8
    114     \?\x{dfff}
    115     ** Failers
    116     \x{09f} 
    117   
    118 /^\p{Mn}/8
    119     \x{1a1b}
    120 
    121 /^\p{Pe}/8
    122     \x{2309}
    123     \x{230b}
    124 
    125 /^\p{Ps}/8
    126     \x{2308}
    127     \x{230a}
    128 
    129 /^\p{Sc}+/8
    130     $\x{a2}\x{a3}\x{a4}\x{a5}\x{a6}
    131     \x{9f2}
    132     ** Failers
    133     X
    134     \x{2c2}
    135   
    136 /^\p{Zs}/8
    137     \ \
    138     \x{a0}
    139     \x{1680}
    140     \x{2000}
    141     \x{2001}     
    142     ** Failers
    143     \x{2028}
    144     \x{200d} 
    145   
    146 /-- These are here rather than in test 6 because Perl has problems with
    147     the negative versions of the properties and behaves has changed how
    148     it behaves for caseless matching. --/
    149       
    150 /\p{^Lu}/8i
    151     1234
    152     ** Failers
    153     ABC 
    154 
    155 /\P{Lu}/8i
    156     1234
    157     ** Failers
    158     ABC 
    159 
    160 /\p{Ll}/8i 
    161     a
    162     Az
    163     ** Failers
    164     ABC   
    165 
    166 /\p{Lu}/8i
    167     A
    168     a\x{10a0}B 
    169     ** Failers 
    170     a
    171     \x{1d00}  
    172 
    173 /\p{Lu}/8i
    174     A
    175     aZ
    176     ** Failers
    177     abc   
    178 
    179 /[\x{c0}\x{391}]/8i
    180     \x{c0}
    181     \x{e0} 
    182 
    183 /-- The next two are special cases where the lengths of the different cases of
    184 the same character differ. The first went wrong with heap frame storage; the
    185 second was broken in all cases. --/
    186 
    187 /^\x{023a}+?(\x{0130}+)/8i
    188   \x{023a}\x{2c65}\x{0130}
    189   
    190 /^\x{023a}+([^X])/8i
    191   \x{023a}\x{2c65}X
    192 
    193 /\x{c0}+\x{116}+/8i
    194     \x{c0}\x{e0}\x{116}\x{117}
    195 
    196 /[\x{c0}\x{116}]+/8i
    197     \x{c0}\x{e0}\x{116}\x{117}
    198 
    199 /(\x{de})\1/8i
    200     \x{de}\x{de}
    201     \x{de}\x{fe}
    202     \x{fe}\x{fe}
    203     \x{fe}\x{de}
    204 
    205 /^\x{c0}$/8i
    206     \x{c0}
    207     \x{e0} 
    208 
    209 /^\x{e0}$/8i
    210     \x{c0}
    211     \x{e0} 
    212 
    213 /-- The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
    214 will match it only with UCP support, because without that it has no notion
    215 of case for anything other than the ASCII letters. --/ 
    216 
    217 /((?i)[\x{c0}])/8
    218     \x{c0}
    219     \x{e0} 
    220 
    221 /(?i:[\x{c0}])/8
    222     \x{c0}
    223     \x{e0} 
    224 
    225 /-- These are PCRE's extra properties to help with Unicodizing \d etc. --/
    226 
    227 /^\p{Xan}/8
    228     ABCD
    229     1234
    230     \x{6ca}
    231     \x{a6c}
    232     \x{10a7}   
    233     ** Failers
    234     _ABC   
    235 
    236 /^\p{Xan}+/8
    237     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
    238     ** Failers
    239     _ABC   
    240 
    241 /^\p{Xan}+?/8
    242     \x{6ca}\x{a6c}\x{10a7}_
    243 
    244 /^\p{Xan}*/8
    245     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
    246     
    247 /^\p{Xan}{2,9}/8
    248     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
    249     
    250 /^\p{Xan}{2,9}?/8
    251     \x{6ca}\x{a6c}\x{10a7}_
    252     
    253 /^[\p{Xan}]/8
    254     ABCD1234_
    255     1234abcd_
    256     \x{6ca}
    257     \x{a6c}
    258     \x{10a7}   
    259     ** Failers
    260     _ABC   
    261  
    262 /^[\p{Xan}]+/8
    263     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
    264     ** Failers
    265     _ABC   
    266 
    267 /^>\p{Xsp}/8
    268     >\x{1680}\x{2028}\x{0b}
    269     >\x{a0} 
    270     ** Failers
    271     \x{0b} 
    272 
    273 /^>\p{Xsp}+/8
    274     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
    275 
    276 /^>\p{Xsp}+?/8
    277     >\x{1680}\x{2028}\x{0b}
    278 
    279 /^>\p{Xsp}*/8
    280     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
    281     
    282 /^>\p{Xsp}{2,9}/8
    283     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
    284     
    285 /^>\p{Xsp}{2,9}?/8
    286     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
    287     
    288 /^>[\p{Xsp}]/8
    289     >\x{2028}\x{0b}
    290  
    291 /^>[\p{Xsp}]+/8
    292     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
    293 
    294 /^>\p{Xps}/8
    295     >\x{1680}\x{2028}\x{0b}
    296     >\x{a0} 
    297     ** Failers
    298     \x{0b} 
    299 
    300 /^>\p{Xps}+/8
    301     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
    302 
    303 /^>\p{Xps}+?/8
    304     >\x{1680}\x{2028}\x{0b}
    305 
    306 /^>\p{Xps}*/8
    307     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
    308     
    309 /^>\p{Xps}{2,9}/8
    310     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
    311     
    312 /^>\p{Xps}{2,9}?/8
    313     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
    314     
    315 /^>[\p{Xps}]/8
    316     >\x{2028}\x{0b}
    317  
    318 /^>[\p{Xps}]+/8
    319     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
    320 
    321 /^\p{Xwd}/8
    322     ABCD
    323     1234
    324     \x{6ca}
    325     \x{a6c}
    326     \x{10a7}
    327     _ABC    
    328     ** Failers
    329     [] 
    330 
    331 /^\p{Xwd}+/8
    332     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
    333 
    334 /^\p{Xwd}+?/8
    335     \x{6ca}\x{a6c}\x{10a7}_
    336 
    337 /^\p{Xwd}*/8
    338     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
    339     
    340 /^\p{Xwd}{2,9}/8
    341     A_B12\x{6ca}\x{a6c}\x{10a7}
    342     
    343 /^\p{Xwd}{2,9}?/8
    344     \x{6ca}\x{a6c}\x{10a7}_
    345     
    346 /^[\p{Xwd}]/8
    347     ABCD1234_
    348     1234abcd_
    349     \x{6ca}
    350     \x{a6c}
    351     \x{10a7}   
    352     _ABC 
    353     ** Failers
    354     []   
    355  
    356 /^[\p{Xwd}]+/8
    357     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
    358 
    359 /-- A check not in UTF-8 mode --/
    360 
    361 /^[\p{Xwd}]+/
    362     ABCD1234_
    363     
    364 /-- Some negative checks --/
    365 
    366 /^[\P{Xwd}]+/8
    367     !.+\x{019}\x{35a}AB
    368 
    369 /^[\p{^Xwd}]+/8
    370     !.+\x{019}\x{35a}AB
    371 
    372 /[\D]/WBZ8
    373     1\x{3c8}2
    374 
    375 /[\d]/WBZ8
    376     >\x{6f4}<
    377 
    378 /[\S]/WBZ8
    379     \x{1680}\x{6f4}\x{1680}
    380 
    381 /[\s]/WBZ8
    382     >\x{1680}<
    383 
    384 /[\W]/WBZ8
    385     A\x{1712}B
    386 
    387 /[\w]/WBZ8
    388     >\x{1723}<
    389 
    390 /\D/WBZ8
    391     1\x{3c8}2
    392 
    393 /\d/WBZ8
    394     >\x{6f4}<
    395 
    396 /\S/WBZ8
    397     \x{1680}\x{6f4}\x{1680}
    398 
    399 /\s/WBZ8
    400     >\x{1680}>
    401 
    402 /\W/WBZ8
    403     A\x{1712}B
    404 
    405 /\w/WBZ8
    406     >\x{1723}<
    407 
    408 /[[:alpha:]]/WBZ
    409 
    410 /[[:lower:]]/WBZ
    411 
    412 /[[:upper:]]/WBZ
    413 
    414 /[[:alnum:]]/WBZ
    415 
    416 /[[:ascii:]]/WBZ
    417 
    418 /[[:cntrl:]]/WBZ
    419 
    420 /[[:digit:]]/WBZ
    421 
    422 /[[:graph:]]/WBZ
    423 
    424 /[[:print:]]/WBZ
    425 
    426 /[[:punct:]]/WBZ
    427 
    428 /[[:space:]]/WBZ
    429 
    430 /[[:word:]]/WBZ
    431 
    432 /[[:xdigit:]]/WBZ
    433 
    434 /-- Unicode properties for \b abd \B --/
    435 
    436 /\b...\B/8W
    437     abc_
    438     \x{37e}abc\x{376} 
    439     \x{37e}\x{376}\x{371}\x{393}\x{394} 
    440     !\x{c0}++\x{c1}\x{c2} 
    441     !\x{c0}+++++ 
    442 
    443 /-- Without PCRE_UCP, non-ASCII always fail, even if < 256  --/
    444 
    445 /\b...\B/8
    446     abc_
    447     ** Failers 
    448     \x{37e}abc\x{376} 
    449     \x{37e}\x{376}\x{371}\x{393}\x{394} 
    450     !\x{c0}++\x{c1}\x{c2} 
    451     !\x{c0}+++++ 
    452 
    453 /-- With PCRE_UCP, non-UTF8 chars that are < 256 still check properties  --/
    454 
    455 /\b...\B/W
    456     abc_
    457     !\x{c0}++\x{c1}\x{c2} 
    458     !\x{c0}+++++ 
    459 
    460 /-- Some of these are silly, but they check various combinations --/
    461 
    462 /[[:^alpha:][:^cntrl:]]+/8WBZ
    463     123
    464     abc 
    465 
    466 /[[:^cntrl:][:^alpha:]]+/8WBZ
    467     123
    468     abc 
    469 
    470 /[[:alpha:]]+/8WBZ
    471     abc
    472 
    473 /[[:^alpha:]\S]+/8WBZ
    474     123
    475     abc 
    476 
    477 /[^\d]+/8WBZ
    478     abc123
    479     abc\x{123}
    480     \x{660}abc   
    481 
    482 /\p{Lu}+9\p{Lu}+B\p{Lu}+b/BZ
    483 
    484 /\p{^Lu}+9\p{^Lu}+B\p{^Lu}+b/BZ
    485 
    486 /\P{Lu}+9\P{Lu}+B\P{Lu}+b/BZ
    487 
    488 /\p{Han}+X\p{Greek}+\x{370}/BZ8
    489 
    490 /\p{Xan}+!\p{Xan}+A/BZ
    491 
    492 /\p{Xsp}+!\p{Xsp}\t/BZ
    493 
    494 /\p{Xps}+!\p{Xps}\t/BZ
    495 
    496 /\p{Xwd}+!\p{Xwd}_/BZ
    497 
    498 /A+\p{N}A+\dB+\p{N}*B+\d*/WBZ
    499 
    500 /-- These behaved oddly in Perl, so they are kept in this test --/
    501 
    502 /(\x{23a}\x{23a}\x{23a})?\1/8i
    503     \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}
    504 
    505 /()?\1/8i
    506     
    507 
    508 /(\x{23a}\x{23a}\x{23a})?\1/8i
    509     \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}\x{2c65}
    510 
    511 /()?\1/8i
    512     
    513 
    514 /(\x{23a}\x{23a}\x{23a})\1/8i
    515     \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}
    516 
    517 /()\1/8i
    518     
    519 
    520 /(\x{23a}\x{23a}\x{23a})\1/8i
    521     \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}\x{2c65}
    522 
    523 /()\1/8i
    524     
    525 
    526 /(\x{2c65}\x{2c65})\1/8i
    527     \x{2c65}\x{2c65}\x{23a}\x{23a}
    528     
    529 /()\1/8i
    530      
    531     
    532 /(\x{23a}\x{23a}\x{23a})\1Y/8i
    533     X\x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}\x{2c65}YZ
    534 
    535 /(\x{2c65}\x{2c65})\1Y/8i
    536     X\x{2c65}\x{2c65}\x{23a}\x{23a}YZ
    537 
    538 /-- --/ 
    539 
    540 /-- These scripts weren't yet in Perl when I added Unicode 6.0.0 to PCRE --/
    541 
    542 /^[\p{Batak}]/8
    543     \x{1bc0}
    544     \x{1bff}
    545     ** Failers
    546     \x{1bf4}
    547     
    548 /^[\p{Brahmi}]/8
    549     \x{11000}
    550     \x{1106f}
    551     ** Failers
    552     \x{1104e}
    553     
    554 /^[\p{Mandaic}]/8
    555     \x{840}
    556     \x{85e}
    557     ** Failers
    558     \x{85c}
    559     \x{85d}    
    560 
    561 /-- --/ 
    562 
    563 /(\X*)(.)/s8
    564     A\x{300}
    565 
    566 /^S(\X*)e(\X*)$/8
    567     Stereo
    568     
    569 /^\X/8 
    570     reo
    571 
    572 /^a\X41z/<JS>
    573     aX41z
    574     *** Failers
    575     aAz
    576 
    577 /(?<=ab\Cde)X/8
    578 
    579 /\X/
    580     a\P
    581     a\P\P
    582 
    583 /\Xa/
    584     aa\P
    585     aa\P\P
    586 
    587 /\X{2}/
    588     aa\P
    589     aa\P\P
    590 
    591 /\X+a/
    592     a\P
    593     aa\P
    594     aa\P\P
    595 
    596 /\X+?a/
    597     a\P
    598     ab\P
    599     aa\P
    600     aa\P\P
    601     aba\P
    602     
    603 /-- These Unicode 6.1.0 scripts are not known to Perl. --/ 
    604 
    605 /\p{Chakma}\d/8W
    606     \x{11100}\x{1113c}
    607 
    608 /\p{Takri}\d/8W
    609     \x{11680}\x{116c0}
    610 
    611 /^\X/8
    612     A\P
    613     A\P\P 
    614     A\x{300}\x{301}\P
    615     A\x{300}\x{301}\P\P  
    616     A\x{301}\P
    617     A\x{301}\P\P  
    618     
    619 /^\X{2,3}/8
    620     A\P
    621     A\P\P 
    622     AA\P
    623     AA\P\P  
    624     A\x{300}\x{301}\P
    625     A\x{300}\x{301}\P\P  
    626     A\x{300}\x{301}A\x{300}\x{301}\P
    627     A\x{300}\x{301}A\x{300}\x{301}\P\P  
    628 
    629 /^\X{2}/8
    630     AA\P
    631     AA\P\P  
    632     A\x{300}\x{301}A\x{300}\x{301}\P
    633     A\x{300}\x{301}A\x{300}\x{301}\P\P  
    634     
    635 /^\X+/8
    636     AA\P
    637     AA\P\P  
    638 
    639 /^\X+?Z/8
    640     AA\P
    641     AA\P\P 
    642 
    643 /A\x{3a3}B/8iDZ
    644 
    645 /\x{3a3}B/8iDZ
    646 
    647 /[\x{3a3}]/8iBZ
    648 
    649 /[^\x{3a3}]/8iBZ
    650 
    651 /[\x{3a3}]+/8iBZ
    652 
    653 /[^\x{3a3}]+/8iBZ
    654 
    655 /a*\x{3a3}/8iBZ
    656 
    657 /\x{3a3}+a/8iBZ
    658 
    659 /\x{3a3}*\x{3c2}/8iBZ
    660 
    661 /\x{3a3}{3}/8i+
    662     \x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2}
    663 
    664 /\x{3a3}{2,4}/8i+
    665     \x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2}
    666 
    667 /\x{3a3}{2,4}?/8i+
    668     \x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2}
    669 
    670 /\x{3a3}+./8i+
    671     \x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2}
    672 
    673 /\x{3a3}++./8i+
    674     ** Failers
    675     \x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2}
    676 
    677 /\x{3a3}*\x{3c2}/8iBZ
    678 
    679 /[^\x{3a3}]*\x{3c2}/8iBZ
    680 
    681 /[^a]*\x{3c2}/8iBZ
    682 
    683 /ist/8iBZ
    684     ikt
    685 
    686 /is+t/8i
    687     iSs\x{17f}t
    688     ikt
    689 
    690 /is+?t/8i
    691     ikt
    692 
    693 /is?t/8i
    694     ikt
    695 
    696 /is{2}t/8i
    697     iskt
    698     
    699 /-- This property is a PCRE special --/
    700 
    701 /^\p{Xuc}/8
    702     $abc
    703     @abc
    704     `abc
    705     \x{1234}abc
    706     ** Failers
    707     abc     
    708 
    709 /^\p{Xuc}+/8
    710     $@`\x{a0}\x{1234}\x{e000}**
    711     ** Failers
    712     \x{9f}
    713 
    714 /^\p{Xuc}+?/8
    715     $@`\x{a0}\x{1234}\x{e000}**
    716     ** Failers
    717     \x{9f}
    718 
    719 /^\p{Xuc}+?\*/8
    720     $@`\x{a0}\x{1234}\x{e000}**
    721     ** Failers
    722     \x{9f}
    723 
    724 /^\p{Xuc}++/8
    725     $@`\x{a0}\x{1234}\x{e000}**
    726     ** Failers
    727     \x{9f}
    728 
    729 /^\p{Xuc}{3,5}/8
    730     $@`\x{a0}\x{1234}\x{e000}**
    731     ** Failers
    732     \x{9f}
    733 
    734 /^\p{Xuc}{3,5}?/8
    735     $@`\x{a0}\x{1234}\x{e000}**
    736     ** Failers
    737     \x{9f}
    738 
    739 /^[\p{Xuc}]/8
    740     $@`\x{a0}\x{1234}\x{e000}**
    741     ** Failers
    742     \x{9f}
    743 
    744 /^[\p{Xuc}]+/8
    745     $@`\x{a0}\x{1234}\x{e000}**
    746     ** Failers
    747     \x{9f}
    748 
    749 /^\P{Xuc}/8
    750     abc
    751     ** Failers
    752     $abc
    753     @abc
    754     `abc
    755     \x{1234}abc
    756 
    757 /^[\P{Xuc}]/8
    758     abc
    759     ** Failers
    760     $abc
    761     @abc
    762     `abc
    763     \x{1234}abc
    764     
    765 /-- Some auto-possessification tests --/
    766 
    767 /\pN+\z/BZ
    768 
    769 /\PN+\z/BZ
    770 
    771 /\pN+/BZ
    772 
    773 /\PN+/BZ
    774 
    775 /\p{Any}+\p{Any} \p{Any}+\P{Any} \p{Any}+\p{L&} \p{Any}+\p{L} \p{Any}+\p{Lu} \p{Any}+\p{Han} \p{Any}+\p{Xan} \p{Any}+\p{Xsp} \p{Any}+\p{Xps} \p{Xwd}+\p{Any} \p{Any}+\p{Xuc}/BWZx  
    776 
    777 /\p{L&}+\p{Any} \p{L&}+\p{L&} \P{L&}+\p{L&} \p{L&}+\p{L} \p{L&}+\p{Lu} \p{L&}+\p{Han} \p{L&}+\p{Xan} \p{L&}+\P{Xan} \p{L&}+\p{Xsp} \p{L&}+\p{Xps} \p{Xwd}+\p{L&} \p{L&}+\p{Xuc}/BWZx  
    778 
    779 /\p{N}+\p{Any} \p{N}+\p{L&} \p{N}+\p{L} \p{N}+\P{L} \p{N}+\P{N} \p{N}+\p{Lu} \p{N}+\p{Han} \p{N}+\p{Xan} \p{N}+\p{Xsp} \p{N}+\p{Xps} \p{Xwd}+\p{N} \p{N}+\p{Xuc}/BWZx  
    780 
    781 /\p{Lu}+\p{Any} \p{Lu}+\p{L&} \p{Lu}+\p{L} \p{Lu}+\p{Lu} \P{Lu}+\p{Lu} \p{Lu}+\p{Nd} \p{Lu}+\P{Nd} \p{Lu}+\p{Han} \p{Lu}+\p{Xan} \p{Lu}+\p{Xsp} \p{Lu}+\p{Xps} \p{Xwd}+\p{Lu} \p{Lu}+\p{Xuc}/BWZx  
    782 
    783 /\p{Han}+\p{Lu} \p{Han}+\p{L&} \p{Han}+\p{L} \p{Han}+\p{Lu} \p{Han}+\p{Arabic} \p{Arabic}+\p{Arabic} \p{Han}+\p{Xan} \p{Han}+\p{Xsp} \p{Han}+\p{Xps} \p{Xwd}+\p{Han} \p{Han}+\p{Xuc}/BWZx  
    784 
    785 /\p{Xan}+\p{Any} \p{Xan}+\p{L&} \P{Xan}+\p{L&} \p{Xan}+\p{L} \p{Xan}+\p{Lu} \p{Xan}+\p{Han} \p{Xan}+\p{Xan} \p{Xan}+\P{Xan} \p{Xan}+\p{Xsp} \p{Xan}+\p{Xps} \p{Xwd}+\p{Xan} \p{Xan}+\p{Xuc}/BWZx  
    786 
    787 /\p{Xsp}+\p{Any} \p{Xsp}+\p{L&} \p{Xsp}+\p{L} \p{Xsp}+\p{Lu} \p{Xsp}+\p{Han} \p{Xsp}+\p{Xan} \p{Xsp}+\p{Xsp} \P{Xsp}+\p{Xsp} \p{Xsp}+\p{Xps} \p{Xwd}+\p{Xsp} \p{Xsp}+\p{Xuc}/BWZx  
    788 
    789 /\p{Xwd}+\p{Any} \p{Xwd}+\p{L&} \p{Xwd}+\p{L} \p{Xwd}+\p{Lu} \p{Xwd}+\p{Han} \p{Xwd}+\p{Xan} \p{Xwd}+\p{Xsp} \p{Xwd}+\p{Xps} \p{Xwd}+\p{Xwd} \p{Xwd}+\P{Xwd} \p{Xwd}+\p{Xuc}/BWZx  
    790 
    791 /\p{Xuc}+\p{Any} \p{Xuc}+\p{L&} \p{Xuc}+\p{L} \p{Xuc}+\p{Lu} \p{Xuc}+\p{Han} \p{Xuc}+\p{Xan} \p{Xuc}+\p{Xsp} \p{Xuc}+\p{Xps} \p{Xwd}+\p{Xuc} \p{Xuc}+\p{Xuc} \p{Xuc}+\P{Xuc}/BWZx  
    792 
    793 /\p{N}+\p{Ll} \p{N}+\p{Nd} \p{N}+\P{Nd}/BWZx
    794 
    795 /\p{Xan}+\p{L} \p{Xan}+\p{N} \p{Xan}+\p{C} \p{Xan}+\P{L} \P{Xan}+\p{N} \p{Xan}+\P{C}/BWZx
    796 
    797 /\p{L}+\p{Xan} \p{N}+\p{Xan} \p{C}+\p{Xan} \P{L}+\p{Xan} \p{N}+\p{Xan} \P{C}+\p{Xan} \p{L}+\P{Xan}/BWZx
    798 
    799 /\p{Xan}+\p{Lu} \p{Xan}+\p{Nd} \p{Xan}+\p{Cc} \p{Xan}+\P{Ll} \P{Xan}+\p{No} \p{Xan}+\P{Cf}/BWZx
    800 
    801 /\p{Lu}+\p{Xan} \p{Nd}+\p{Xan} \p{Cs}+\p{Xan} \P{Lt}+\p{Xan} \p{Nl}+\p{Xan} \P{Cc}+\p{Xan} \p{Lt}+\P{Xan}/BWZx
    802 
    803 /\w+\p{P} \w+\p{Po} \w+\s \p{Xan}+\s \s+\p{Xan} \s+\w/BWZx
    804 
    805 /\w+\P{P} \W+\p{Po} \w+\S \P{Xan}+\s \s+\P{Xan} \s+\W/BWZx
    806 
    807 /\w+\p{Po} \w+\p{Pc} \W+\p{Po} \W+\p{Pc} \w+\P{Po} \w+\P{Pc}/BWZx
    808 
    809 /\p{Nl}+\p{Xan} \P{Nl}+\p{Xan} \p{Nl}+\P{Xan} \P{Nl}+\P{Xan}/BWZx
    810 
    811 /\p{Xan}+\p{Nl} \P{Xan}+\p{Nl} \p{Xan}+\P{Nl} \P{Xan}+\P{Nl}/BWZx
    812 
    813 /\p{Xan}+\p{Nd} \P{Xan}+\p{Nd} \p{Xan}+\P{Nd} \P{Xan}+\P{Nd}/BWZx
    814 
    815 /-- End auto-possessification tests --/ 
    816 
    817 /\w+/8CWBZ
    818     abcd
    819 
    820 /[\p{N}]?+/BZO
    821 
    822 /[\p{L}ab]{2,3}+/BZO
    823 
    824 /\D+\X \d+\X \S+\X \s+\X \W+\X \w+\X \C+\X \R+\X \H+\X \h+\X \V+\X \v+\X a+\X \n+\X .+\X/BZx
    825 
    826 /.+\X/BZxs
    827 
    828 /\X+$/BZxm
    829 
    830 /\X+\D \X+\d \X+\S \X+\s \X+\W \X+\w \X+. \X+\C \X+\R \X+\H \X+\h \X+\V \X+\v \X+\X \X+\Z \X+\z \X+$/BZx
    831 
    832 /\d+\s{0,5}=\s*\S?=\w{0,4}\W*/8WBZ
    833 
    834 /[RST]+/8iWBZ
    835     
    836 /[R-T]+/8iWBZ 
    837 
    838 /[Q-U]+/8iWBZ 
    839 
    840 /^s?c/mi8I
    841     scat
    842 
    843 /-- End of testinput7 --/
    844