/[pcre]/code/trunk/testdata/testoutput2
ViewVC logotype

Diff of /code/trunk/testdata/testoutput2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 937 by ph10, Sun Feb 26 15:58:56 2012 UTC revision 1364 by ph10, Sat Oct 5 15:45:11 2013 UTC
# Line 10  Line 10 
10    
11  /(a)b|/I  /(a)b|/I
12  Capturing subpattern count = 1  Capturing subpattern count = 1
13    May match empty string
14  No options  No options
15  No first char  No first char
16  No need char  No need char
# Line 228  No options Line 229  No options
229  No first char  No first char
230  No need char  No need char
231  Subject length lower bound = 1  Subject length lower bound = 1
232  Starting byte set: \x09 \x0a \x0c \x0d \x20 a b  Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20 a b
233    
234  /(ab\2)/  /(ab\2)/
235  Failed: reference to non-existent subpattern at offset 6  Failed: reference to non-existent subpattern at offset 6
# Line 448  Need char = '=' Line 449  Need char = '='
449    
450  /(?<!bar|cattle)foo/I  /(?<!bar|cattle)foo/I
451  Capturing subpattern count = 0  Capturing subpattern count = 0
452    Max lookbehind = 6
453  No options  No options
454  First char = 'f'  First char = 'f'
455  Need char = 'o'  Need char = 'o'
 Max lookbehind = 6  
456      foo      foo
457   0: foo   0: foo
458      catfoo      catfoo
# Line 498  No need char Line 499  No need char
499    
500  /(?s).*/I  /(?s).*/I
501  Capturing subpattern count = 0  Capturing subpattern count = 0
502    May match empty string
503  Options: anchored dotall  Options: anchored dotall
504  No first char  No first char
505  No need char  No need char
# Line 631  No match Line 633  No match
633    
634  /\Aabc/Im  /\Aabc/Im
635  Capturing subpattern count = 0  Capturing subpattern count = 0
636    Max lookbehind = 1
637  Options: anchored multiline  Options: anchored multiline
638  No first char  No first char
639  No need char  No need char
# Line 656  No need char Line 659  No need char
659    
660  /(?<=foo)[ab]/IS  /(?<=foo)[ab]/IS
661  Capturing subpattern count = 0  Capturing subpattern count = 0
662    Max lookbehind = 3
663  No options  No options
664  No first char  No first char
665  No need char  No need char
 Max lookbehind = 3  
666  Subject length lower bound = 1  Subject length lower bound = 1
667  Starting byte set: a b  Starting byte set: a b
668    
669  /(?<!foo)(alpha|omega)/IS  /(?<!foo)(alpha|omega)/IS
670  Capturing subpattern count = 1  Capturing subpattern count = 1
671    Max lookbehind = 3
672  No options  No options
673  No first char  No first char
674  Need char = 'a'  Need char = 'a'
 Max lookbehind = 3  
675  Subject length lower bound = 5  Subject length lower bound = 5
676  Starting byte set: a o  Starting byte set: a o
677    
# Line 682  Starting byte set: a b Line 685  Starting byte set: a b
685    
686  /(?<=foo\n)^bar/Im  /(?<=foo\n)^bar/Im
687  Capturing subpattern count = 0  Capturing subpattern count = 0
688    Max lookbehind = 4
689  Contains explicit CR or LF match  Contains explicit CR or LF match
690  Options: multiline  Options: multiline
691  No first char  No first char
692  Need char = 'r'  Need char = 'r'
 Max lookbehind = 4  
693      foo\nbarbar      foo\nbarbar
694   0: bar   0: bar
695      ***Failers      ***Failers
# Line 700  No match Line 703  No match
703    
704  /^(?<=foo\n)bar/Im  /^(?<=foo\n)bar/Im
705  Capturing subpattern count = 0  Capturing subpattern count = 0
706    Max lookbehind = 4
707  Contains explicit CR or LF match  Contains explicit CR or LF match
708  Options: multiline  Options: multiline
709  First char at start or follows newline  First char at start or follows newline
710  Need char = 'r'  Need char = 'r'
 Max lookbehind = 4  
711      foo\nbarbar      foo\nbarbar
712   0: bar   0: bar
713      ***Failers      ***Failers
# Line 743  Failed: lookbehind assertion is not fixe Line 746  Failed: lookbehind assertion is not fixe
746    
747  /(?<=bullock|donkey)-cart/I  /(?<=bullock|donkey)-cart/I
748  Capturing subpattern count = 0  Capturing subpattern count = 0
749    Max lookbehind = 7
750  No options  No options
751  First char = '-'  First char = '-'
752  Need char = 't'  Need char = 't'
 Max lookbehind = 7  
753      the bullock-cart      the bullock-cart
754   0: -cart   0: -cart
755      a donkey-cart race      a donkey-cart race
# Line 760  No match Line 763  No match
763    
764  /(?<=ab(?i)x|y|z)/I  /(?<=ab(?i)x|y|z)/I
765  Capturing subpattern count = 0  Capturing subpattern count = 0
766    Max lookbehind = 3
767    May match empty string
768  No options  No options
769  No first char  No first char
770  No need char  No need char
 Max lookbehind = 3  
771    
772  /(?>.*)(?<=(abcd)|(xyz))/I  /(?>.*)(?<=(abcd)|(xyz))/I
773  Capturing subpattern count = 2  Capturing subpattern count = 2
774    Max lookbehind = 4
775    May match empty string
776  No options  No options
777  First char at start or follows newline  No first char
778  No need char  No need char
 Max lookbehind = 4  
779      alphabetabcd      alphabetabcd
780   0: alphabetabcd   0: alphabetabcd
781   1: abcd   1: abcd
# Line 781  Max lookbehind = 4 Line 786  Max lookbehind = 4
786    
787  /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/I  /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/I
788  Capturing subpattern count = 0  Capturing subpattern count = 0
789    Max lookbehind = 4
790  No options  No options
791  First char = 'Z'  First char = 'Z'
792  Need char = 'Z'  Need char = 'Z'
 Max lookbehind = 4  
793      abxyZZ      abxyZZ
794   0: ZZ   0: ZZ
795      abXyZZ      abXyZZ
# Line 810  No match Line 815  No match
815    
816  /(?<!(foo)a)bar/I  /(?<!(foo)a)bar/I
817  Capturing subpattern count = 1  Capturing subpattern count = 1
818    Max lookbehind = 4
819  No options  No options
820  First char = 'b'  First char = 'b'
821  Need char = 'r'  Need char = 'r'
 Max lookbehind = 4  
822      bar      bar
823   0: bar   0: bar
824      foobbar      foobbar
# Line 823  No match Line 828  No match
828      fooabar      fooabar
829  No match  No match
830    
 /This one is here because Perl 5.005_02 doesn't fail it/I  
 Capturing subpattern count = 0  
 No options  
 First char = 'T'  
 Need char = 't'  
   
 /^(a)?(?(1)a|b)+$/I  
 Capturing subpattern count = 1  
 Options: anchored  
 No first char  
 No need char  
     *** Failers  
 No match  
     a  
 No match  
   
831  /This one is here because Perl behaves differently; see also the following/I  /This one is here because Perl behaves differently; see also the following/I
832  Capturing subpattern count = 0  Capturing subpattern count = 0
833  No options  No options
# Line 1212  No need char Line 1201  No need char
1201    
1202  /\Biss\B/I+  /\Biss\B/I+
1203  Capturing subpattern count = 0  Capturing subpattern count = 0
1204    Max lookbehind = 1
1205  No options  No options
1206  First char = 'i'  First char = 'i'
1207  Need char = 's'  Need char = 's'
 Max lookbehind = 1  
1208      Mississippi      Mississippi
1209   0: iss   0: iss
1210   0+ issippi   0+ issippi
# Line 1233  Need char = 's' Line 1222  Need char = 's'
1222    
1223  /\Biss\B/IG+  /\Biss\B/IG+
1224  Capturing subpattern count = 0  Capturing subpattern count = 0
1225    Max lookbehind = 1
1226  No options  No options
1227  First char = 'i'  First char = 'i'
1228  Need char = 's'  Need char = 's'
 Max lookbehind = 1  
1229      Mississippi      Mississippi
1230   0: iss   0: iss
1231   0+ issippi   0+ issippi
1232    
1233  /\Biss\B/Ig+  /\Biss\B/Ig+
1234  Capturing subpattern count = 0  Capturing subpattern count = 0
1235    Max lookbehind = 1
1236  No options  No options
1237  First char = 'i'  First char = 'i'
1238  Need char = 's'  Need char = 's'
 Max lookbehind = 1  
1239      Mississippi      Mississippi
1240   0: iss   0: iss
1241   0+ issippi   0+ issippi
# Line 1259  No match Line 1248  No match
1248    
1249  /(?<=[Ms])iss/Ig+  /(?<=[Ms])iss/Ig+
1250  Capturing subpattern count = 0  Capturing subpattern count = 0
1251    Max lookbehind = 1
1252  No options  No options
1253  First char = 'i'  First char = 'i'
1254  Need char = 's'  Need char = 's'
 Max lookbehind = 1  
1255      Mississippi      Mississippi
1256   0: iss   0: iss
1257   0+ issippi   0+ issippi
# Line 1271  Max lookbehind = 1 Line 1260  Max lookbehind = 1
1260    
1261  /(?<=[Ms])iss/IG+  /(?<=[Ms])iss/IG+
1262  Capturing subpattern count = 0  Capturing subpattern count = 0
1263    Max lookbehind = 1
1264  No options  No options
1265  First char = 'i'  First char = 'i'
1266  Need char = 's'  Need char = 's'
 Max lookbehind = 1  
1267      Mississippi      Mississippi
1268   0: iss   0: iss
1269   0+ issippi   0+ issippi
# Line 1392  Need char = 'c' Line 1381  Need char = 'c'
1381    
1382  /a*/I  /a*/I
1383  Capturing subpattern count = 0  Capturing subpattern count = 0
1384    May match empty string
1385  No options  No options
1386  No first char  No first char
1387  No need char  No need char
# Line 1410  Need char = 'a' Line 1400  Need char = 'a'
1400    
1401  /a{0,3}/I  /a{0,3}/I
1402  Capturing subpattern count = 0  Capturing subpattern count = 0
1403    May match empty string
1404  No options  No options
1405  No first char  No first char
1406  No need char  No need char
# Line 1452  Need char = 'r' Line 1443  Need char = 'r'
1443    
1444  /...(?<=abc)/I  /...(?<=abc)/I
1445  Capturing subpattern count = 0  Capturing subpattern count = 0
1446    Max lookbehind = 3
1447  No options  No options
1448  No first char  No first char
1449  No need char  No need char
 Max lookbehind = 3  
1450    
1451  /abc(?!pqr)/I  /abc(?!pqr)/I
1452  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 1609  Need char = 'e' Line 1600  Need char = 'e'
1600    
1601  /a?b?/I  /a?b?/I
1602  Capturing subpattern count = 0  Capturing subpattern count = 0
1603    May match empty string
1604  No options  No options
1605  No first char  No first char
1606  No need char  No need char
# Line 1627  No match Line 1619  No match
1619    
1620  /|-/I  /|-/I
1621  Capturing subpattern count = 0  Capturing subpattern count = 0
1622    May match empty string
1623  No options  No options
1624  No first char  No first char
1625  No need char  No need char
# Line 2640  Need char = '-' Line 2633  Need char = '-'
2633          End          End
2634  ------------------------------------------------------------------  ------------------------------------------------------------------
2635  Capturing subpattern count = 0  Capturing subpattern count = 0
2636    May match empty string
2637  Options: extended  Options: extended
2638  No first char  No first char
2639  No need char  No need char
# Line 2659  No need char Line 2653  No need char
2653  /[\s]/DZ  /[\s]/DZ
2654  ------------------------------------------------------------------  ------------------------------------------------------------------
2655          Bra          Bra
2656          [\x09\x0a\x0c\x0d ]          [\x09-\x0d ]
2657          Ket          Ket
2658          End          End
2659  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2671  No need char Line 2665  No need char
2665  /[\S]/DZ  /[\S]/DZ
2666  ------------------------------------------------------------------  ------------------------------------------------------------------
2667          Bra          Bra
2668          [\x00-\x08\x0b\x0e-\x1f!-\xff] (neg)          [\x00-\x08\x0e-\x1f!-\xff] (neg)
2669          Ket          Ket
2670          End          End
2671  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 2782  Need char = '0' Line 2776  Need char = '0'
2776          End          End
2777  ------------------------------------------------------------------  ------------------------------------------------------------------
2778  Capturing subpattern count = 0  Capturing subpattern count = 0
2779    May match empty string
2780  No options  No options
2781  No first char  No first char
2782  No need char  No need char
# Line 2881  No match Line 2876  No match
2876          End          End
2877  ------------------------------------------------------------------  ------------------------------------------------------------------
2878  Capturing subpattern count = 0  Capturing subpattern count = 0
2879    May match empty string
2880  No options  No options
2881  No first char  No first char
2882  No need char  No need char
# Line 2902  No need char Line 2898  No need char
2898          Bra          Bra
2899          Once          Once
2900          x          x
2901          x{0,2}          x{0,2}+
2902          Ket          Ket
2903          Ket          Ket
2904          End          End
# Line 2923  No need char Line 2919  No need char
2919          End          End
2920  ------------------------------------------------------------------  ------------------------------------------------------------------
2921  Capturing subpattern count = 1  Capturing subpattern count = 1
2922    May match empty string
2923  No options  No options
2924  No first char  No first char
2925  No need char  No need char
2926    
2927  /^(\w++|\s++)*$/I  /^(\w++|\s++)*$/I
2928  Capturing subpattern count = 1  Capturing subpattern count = 1
2929    May match empty string
2930  Options: anchored  Options: anchored
2931  No first char  No first char
2932  No need char  No need char
# Line 3090  Need char = 'b' Line 3088  Need char = 'b'
3088          [bc]+          [bc]+
3089          Ket          Ket
3090          CBra 5          CBra 5
3091          \w*          \w*+
3092          Ket          Ket
3093          Ket          Ket
3094          Ket          Ket
# Line 3169  Failed: missing terminating ] for charac Line 3167  Failed: missing terminating ] for charac
3167  /[\s]/IDZ  /[\s]/IDZ
3168  ------------------------------------------------------------------  ------------------------------------------------------------------
3169          Bra          Bra
3170          [\x09\x0a\x0c\x0d ]          [\x09-\x0d ]
3171          Ket          Ket
3172          End          End
3173  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 3233  No match Line 3231  No match
3231          End          End
3232  ------------------------------------------------------------------  ------------------------------------------------------------------
3233  Capturing subpattern count = 0  Capturing subpattern count = 0
3234    Max lookbehind = 1
3235  No options  No options
3236  First char = '8'  First char = '8'
3237  Need char = 'X'  Need char = 'X'
 Max lookbehind = 1  
3238    
3239  |\$\<\.X\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ  |\$\<\.X\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|IDZ
3240  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 3247  Max lookbehind = 1 Line 3245  Max lookbehind = 1
3245          End          End
3246  ------------------------------------------------------------------  ------------------------------------------------------------------
3247  Capturing subpattern count = 0  Capturing subpattern count = 0
3248    Max lookbehind = 1
3249  No options  No options
3250  First char = '$'  First char = '$'
3251  Need char = 'X'  Need char = 'X'
 Max lookbehind = 1  
3252    
3253  /(.*)\d+\1/I  /(.*)\d+\1/I
3254  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 3304  Need char = 'b' Line 3302  Need char = 'b'
3302    
3303  /(?=a).*/I  /(?=a).*/I
3304  Capturing subpattern count = 0  Capturing subpattern count = 0
3305    May match empty string
3306  No options  No options
3307  First char = 'a'  First char = 'a'
3308  No need char  No need char
# Line 3322  Need char = 'z' (caseless) Line 3321  Need char = 'z' (caseless)
3321    
3322  /(?=a)(?=b)/I  /(?=a)(?=b)/I
3323  Capturing subpattern count = 0  Capturing subpattern count = 0
3324    May match empty string
3325  No options  No options
3326  First char = 'a'  First char = 'a'
3327  No need char  No need char
# Line 3388  Need char = 'a' Line 3388  Need char = 'a'
3388    
3389  /(a)*/I  /(a)*/I
3390  Capturing subpattern count = 1  Capturing subpattern count = 1
3391    May match empty string
3392  No options  No options
3393  No first char  No first char
3394  No need char  No need char
# Line 3616  No match Line 3617  No match
3617    
3618  /(?C0)(abc(?C1))*/I  /(?C0)(abc(?C1))*/I
3619  Capturing subpattern count = 1  Capturing subpattern count = 1
3620    May match empty string
3621  No options  No options
3622  No first char  No first char
3623  No need char  No need char
# Line 3649  No need char Line 3651  No need char
3651    
3652  /(\d{3}(?C))*/I  /(\d{3}(?C))*/I
3653  Capturing subpattern count = 1  Capturing subpattern count = 1
3654    May match empty string
3655  No options  No options
3656  No first char  No first char
3657  No need char  No need char
# Line 3763  Callout 2: last capture = -1 Line 3766  Callout 2: last capture = -1
3766    
3767  /(?<=(abc)(?C))xyz/I  /(?<=(abc)(?C))xyz/I
3768  Capturing subpattern count = 1  Capturing subpattern count = 1
3769    Max lookbehind = 3
3770  No options  No options
3771  First char = 'x'  First char = 'x'
3772  Need char = 'z'  Need char = 'z'
 Max lookbehind = 3  
3773     abcxyz\C+     abcxyz\C+
3774  Callout 0: last capture = 1  Callout 0: last capture = 1
3775   0: <unset>   0: <unset>
# Line 3785  Need char = 'b' Line 3788  Need char = 'b'
3788  --->abbbbbccc  --->abbbbbccc
3789    1 ^        ^    1 ^        ^
3790  Callout data = 1  Callout data = 1
   1 ^       ^  
 Callout data = 1  
   1 ^      ^  
 Callout data = 1  
   1 ^     ^  
 Callout data = 1  
3791    1 ^    ^    1 ^    ^
3792  Callout data = 1  Callout data = 1
3793    1 ^   ^    1 ^   ^
# Line 3895  Failed: recursive call could loop indefi Line 3892  Failed: recursive call could loop indefi
3892    
3893  /^([^()]|\((?1)*\))*$/I  /^([^()]|\((?1)*\))*$/I
3894  Capturing subpattern count = 1  Capturing subpattern count = 1
3895    May match empty string
3896  Options: anchored  Options: anchored
3897  No first char  No first char
3898  No need char  No need char
# Line 4174  Named capturing subpatterns: Line 4172  Named capturing subpatterns:
4172    one     1    one     1
4173    three   3    three   3
4174    two     2    two     2
4175    May match empty string
4176  Options: anchored caseless  Options: anchored caseless
4177  No first char  No first char
4178  No need char  No need char
# Line 4273  Need char = 'z' Line 4272  Need char = 'z'
4272    
4273  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a/Is  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a/Is
4274  Capturing subpattern count = 31  Capturing subpattern count = 31
4275    May match empty string
4276  Options: anchored dotall  Options: anchored dotall
4277  No first char  No first char
4278  No need char  No need char
# Line 4280  No need char Line 4280  No need char
4280  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\31/Is  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\31/Is
4281  Capturing subpattern count = 31  Capturing subpattern count = 31
4282  Max back reference = 31  Max back reference = 31
4283    May match empty string
4284  Options: dotall  Options: dotall
4285  No first char  No first char
4286  No need char  No need char
# Line 4287  No need char Line 4288  No need char
4288  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\32/Is  /(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)|(.*)a\32/Is
4289  Capturing subpattern count = 32  Capturing subpattern count = 32
4290  Max back reference = 32  Max back reference = 32
4291    May match empty string
4292  Options: dotall  Options: dotall
4293  No first char  No first char
4294  No need char  No need char
# Line 4363  Minimum match() recursion limit = 6 Line 4365  Minimum match() recursion limit = 6
4365   1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa   1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
4366    aaaaaaaaaaaaaz\M    aaaaaaaaaaaaaz\M
4367  Minimum match() limit = 32768  Minimum match() limit = 32768
4368  Minimum match() recursion limit = 42  Minimum match() recursion limit = 29
4369  No match  No match
4370    
4371  /(aaa(?C1)bbb|ab)/I  /(aaa(?C1)bbb|ab)/I
# Line 4438  Capturing subpattern count = 2 Line 4440  Capturing subpattern count = 2
4440  Named capturing subpatterns:  Named capturing subpatterns:
4441    Tes    1    Tes    1
4442    Test   2    Test   2
4443    May match empty string
4444  No options  No options
4445  No first char  No first char
4446  No need char  No need char
# Line 4456  Capturing subpattern count = 2 Line 4459  Capturing subpattern count = 2
4459  Named capturing subpatterns:  Named capturing subpatterns:
4460    Tes    2    Tes    2
4461    Test   1    Test   1
4462    May match empty string
4463  No options  No options
4464  No first char  No first char
4465  No need char  No need char
# Line 4533  Need char = ']' Line 4537  Need char = ']'
4537          End          End
4538  ------------------------------------------------------------------  ------------------------------------------------------------------
4539  Capturing subpattern count = 2  Capturing subpattern count = 2
4540    May match empty string
4541  No options  No options
4542  No first char  No first char
4543  No need char  No need char
# Line 4553  No need char Line 4558  No need char
4558          End          End
4559  ------------------------------------------------------------------  ------------------------------------------------------------------
4560  Capturing subpattern count = 2  Capturing subpattern count = 2
4561    May match empty string
4562  No options  No options
4563  No first char  No first char
4564  No need char  No need char
# Line 4584  No need char Line 4590  No need char
4590          End          End
4591  ------------------------------------------------------------------  ------------------------------------------------------------------
4592  Capturing subpattern count = 2  Capturing subpattern count = 2
4593    May match empty string
4594  No options  No options
4595  No first char  No first char
4596  No need char  No need char
# Line 5411  Need char = '3' Line 5418  Need char = '3'
5418    
5419  /\b.*/I  /\b.*/I
5420  Capturing subpattern count = 0  Capturing subpattern count = 0
5421    Max lookbehind = 1
5422    May match empty string
5423  No options  No options
5424  No first char  No first char
5425  No need char  No need char
 Max lookbehind = 1  
5426    ab cd\>1    ab cd\>1
5427   0:  cd   0:  cd
5428    
5429  /\b.*/Is  /\b.*/Is
5430  Capturing subpattern count = 0  Capturing subpattern count = 0
5431    Max lookbehind = 1
5432    May match empty string
5433  Options: dotall  Options: dotall
5434  No first char  No first char
5435  No need char  No need char
 Max lookbehind = 1  
5436    ab cd\>1    ab cd\>1
5437   0:  cd   0:  cd
5438    
5439  /(?!.bcd).*/I  /(?!.bcd).*/I
5440  Capturing subpattern count = 0  Capturing subpattern count = 0
5441    May match empty string
5442  No options  No options
5443  No first char  No first char
5444  No need char  No need char
# Line 6017  Matched, but too many substrings Line 6027  Matched, but too many substrings
6027    
6028  /[^()]*(?:\((?R)\)[^()]*)*/I  /[^()]*(?:\((?R)\)[^()]*)*/I
6029  Capturing subpattern count = 0  Capturing subpattern count = 0
6030    May match empty string
6031  No options  No options
6032  No first char  No first char
6033  No need char  No need char
# Line 6029  No need char Line 6040  No need char
6040    
6041  /[^()]*(?:\((?>(?R))\)[^()]*)*/I  /[^()]*(?:\((?>(?R))\)[^()]*)*/I
6042  Capturing subpattern count = 0  Capturing subpattern count = 0
6043    May match empty string
6044  No options  No options
6045  No first char  No first char
6046  No need char  No need char
# Line 6039  No need char Line 6051  No need char
6051    
6052  /[^()]*(?:\((?R)\))*[^()]*/I  /[^()]*(?:\((?R)\))*[^()]*/I
6053  Capturing subpattern count = 0  Capturing subpattern count = 0
6054    May match empty string
6055  No options  No options
6056  No first char  No first char
6057  No need char  No need char
# Line 6049  No need char Line 6062  No need char
6062    
6063  /(?:\((?R)\))*[^()]*/I  /(?:\((?R)\))*[^()]*/I
6064  Capturing subpattern count = 0  Capturing subpattern count = 0
6065    May match empty string
6066  No options  No options
6067  No first char  No first char
6068  No need char  No need char
# Line 6061  No need char Line 6075  No need char
6075    
6076  /(?:\((?R)\))|[^()]*/I  /(?:\((?R)\))|[^()]*/I
6077  Capturing subpattern count = 0  Capturing subpattern count = 0
6078    May match empty string
6079  No options  No options
6080  No first char  No first char
6081  No need char  No need char
# Line 6110  no parentheses with name "Z" Line 6125  no parentheses with name "Z"
6125   2: a1   2: a1
6126  copy substring Z failed -7  copy substring Z failed -7
6127    C a1 (2) A    C a1 (2) A
6128    
6129    /(?|(?<a>)(?<b>)(?<a>)|(?<a>)(?<b>)(?<a>))/IJ
6130    Capturing subpattern count = 3
6131    Named capturing subpatterns:
6132      a   1
6133      a   3
6134      b   2
6135    May match empty string
6136    Options: dupnames
6137    No first char
6138    No need char
6139    
6140  /^(?P<A>a)(?P<A>b)/IJ  /^(?P<A>a)(?P<A>b)/IJ
6141  Capturing subpattern count = 2  Capturing subpattern count = 2
# Line 6392  No options Line 6418  No options
6418  No first char  No first char
6419  Need char = ','  Need char = ','
6420  Subject length lower bound = 1  Subject length lower bound = 1
6421  Starting byte set: \x09 \x0a \x0c \x0d \x20 ,  Starting byte set: \x09 \x0a \x0b \x0c \x0d \x20 ,
6422      \x0b,\x0b      \x0b,\x0b
6423   0: ,   0: \x0b,\x0b
6424      \x0c,\x0d      \x0c,\x0d
6425   0: \x0c,\x0d   0: \x0c,\x0d
6426    
# Line 6518  Unknown newline type at: <bad> Line 6544  Unknown newline type at: <bad>
6544    
6545  /.*/I<lf>  /.*/I<lf>
6546  Capturing subpattern count = 0  Capturing subpattern count = 0
6547    May match empty string
6548  Options:  Options:
6549  Forced newline sequence: LF  Forced newline sequence: LF
6550  First char at start or follows newline  First char at start or follows newline
# Line 6559  Need char = 'f' Line 6586  Need char = 'f'
6586    
6587  +((?:\s|//.*\\n|/[*](?:\\n|.)*?[*]/)*)+I  +((?:\s|//.*\\n|/[*](?:\\n|.)*?[*]/)*)+I
6588  Capturing subpattern count = 1  Capturing subpattern count = 1
6589    May match empty string
6590  No options  No options
6591  No first char  No first char
6592  No need char  No need char
# Line 7482  Matched, but too many substrings Line 7510  Matched, but too many substrings
7510  /a*[^a]/BZ  /a*[^a]/BZ
7511  ------------------------------------------------------------------  ------------------------------------------------------------------
7512          Bra          Bra
7513          a*          a*+
7514          [^a]          [^a]
7515          Ket          Ket
7516          End          End
# Line 7725  Named capturing subpatterns: Line 7753  Named capturing subpatterns:
7753    one     1    one     1
7754    three   3    three   3
7755    two     2    two     2
7756    May match empty string
7757  Options: anchored caseless  Options: anchored caseless
7758  No first char  No first char
7759  No need char  No need char
# Line 8561  No match Line 8590  No match
8590          \d          \d
8591          \v++          \v++
8592          \w          \w
8593          \v+          \v++
8594          \S          \S
8595          \v++          \v++
8596          \V          \V
# Line 8659  No match Line 8688  No match
8688   +6 ^      ^    (*FAIL)   +6 ^      ^    (*FAIL)
8689   +6 ^     ^     (*FAIL)   +6 ^     ^     (*FAIL)
8690   +6 ^    ^      (*FAIL)   +6 ^    ^      (*FAIL)
  +4 ^  ^        c+  
  +2 ^ ^         b?  
  +4 ^ ^         c+  
  +2 ^^          b?  
  +4 ^^          c+  
8691   +0  ^          a+   +0  ^          a+
8692   +2  ^ ^        b?   +2  ^ ^        b?
8693   +4  ^  ^       c+   +4  ^  ^       c+
8694   +6  ^     ^    (*FAIL)   +6  ^     ^    (*FAIL)
8695   +6  ^    ^     (*FAIL)   +6  ^    ^     (*FAIL)
8696   +6  ^   ^      (*FAIL)   +6  ^   ^      (*FAIL)
  +4  ^ ^        c+  
  +2  ^^         b?  
  +4  ^^         c+  
8697   +0   ^         a+   +0   ^         a+
8698   +2   ^^        b?   +2   ^^        b?
8699   +4   ^ ^       c+   +4   ^ ^       c+
8700   +6   ^    ^    (*FAIL)   +6   ^    ^    (*FAIL)
8701   +6   ^   ^     (*FAIL)   +6   ^   ^     (*FAIL)
8702   +6   ^  ^      (*FAIL)   +6   ^  ^      (*FAIL)
  +4   ^^        c+  
8703  No match  No match
8704    
8705  /a+b?(*PRUNE)c+(*FAIL)/C  /a+b?(*PRUNE)c+(*FAIL)/C
# Line 8803  No match Line 8823  No match
8823   1: \x0a   1: \x0a
8824    
8825  /a(*CR)b/  /a(*CR)b/
8826  Failed: (*VERB) not recognized at offset 5  Failed: (*VERB) not recognized or malformed at offset 5
8827    
8828  /(*CR)a.b/  /(*CR)a.b/
8829      a\nb      a\nb
# Line 9264  Starting byte set: x y z Line 9284  Starting byte set: x y z
9284    
9285  /(?(?=.*b)b|^)/CI  /(?(?=.*b)b|^)/CI
9286  Capturing subpattern count = 0  Capturing subpattern count = 0
9287    May match empty string
9288  Options:  Options:
9289  No first char  No first char
9290  No need char  No need char
# Line 9276  No need char Line 9297  No need char
9297   +7 ^ ^     b   +7 ^ ^     b
9298   +7 ^^      b   +7 ^^      b
9299   +7 ^       b   +7 ^       b
9300    +11 ^       ^
9301  +12 ^       )  +12 ^       )
9302  +13 ^  +13 ^
9303   0:   0:
# Line 9406  No match Line 9428  No match
9428   +3 ^ ^      (?(?=[a])[^"])   +3 ^ ^      (?(?=[a])[^"])
9429   +5 ^ ^      (?=[a])   +5 ^ ^      (?=[a])
9430   +8 ^ ^      [a]   +8 ^ ^      [a]
9431    +17 ^ ^      |
9432  +21 ^ ^      "  +21 ^ ^      "
9433  +18 ^ ^      b  +18 ^ ^      b
9434  +19 ^  ^     )  +19 ^  ^     )
9435   +3 ^  ^     (?(?=[a])[^"])   +3 ^  ^     (?(?=[a])[^"])
9436   +5 ^  ^     (?=[a])   +5 ^  ^     (?=[a])
9437   +8 ^  ^     [a]   +8 ^  ^     [a]
9438    +17 ^  ^     |
9439  +21 ^  ^     "  +21 ^  ^     "
9440  +22 ^   ^    $  +22 ^   ^    $
9441  +23 ^   ^  +23 ^   ^
# Line 9719  Partial match: abc12 Line 9743  Partial match: abc12
9743      xyzabc123pqr      xyzabc123pqr
9744   0: 123   0: 123
9745      xyzabc12\P      xyzabc12\P
9746  Partial match: abc12  Partial match at offset 6: abc12
9747      xyzabc12\P\P      xyzabc12\P\P
9748  Partial match: abc12  Partial match at offset 6: abc12
9749    
9750  /\babc\b/  /\babc\b/
9751      +++abc+++      +++abc+++
9752   0: abc   0: abc
9753      +++ab\P      +++ab\P
9754  Partial match: +ab  Partial match at offset 3: +ab
9755      +++ab\P\P      +++ab\P\P
9756  Partial match: +ab  Partial match at offset 3: +ab
9757    
9758  /(?&word)(?&element)(?(DEFINE)(?<element><[^m][^>]>[^<])(?<word>\w*+))/BZ  /(?&word)(?&element)(?(DEFINE)(?<element><[^m][^>]>[^<])(?<word>\w*+))/BZ
9759  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 10110  No set of starting bytes Line 10134  No set of starting bytes
10134  "(?>.*/)foo"SI  "(?>.*/)foo"SI
10135  Capturing subpattern count = 0  Capturing subpattern count = 0
10136  No options  No options
10137  First char at start or follows newline  No first char
10138  Need char = 'o'  Need char = 'o'
10139  Subject length lower bound = 4  Subject length lower bound = 4
10140  No set of starting bytes  No set of starting bytes
# Line 10172  No set of starting bytes Line 10196  No set of starting bytes
10196  Capturing subpattern count = 1  Capturing subpattern count = 1
10197  Named capturing subpatterns:  Named capturing subpatterns:
10198    a   1    a   1
   a   1  
10199  No options  No options
10200  No first char  No first char
10201  No need char  No need char
# Line 10353  Partial match: abca Line 10376  Partial match: abca
10376      xxxxabcde\P\P      xxxxabcde\P\P
10377  Partial match: abcde  Partial match: abcde
10378    
10379  /-- This is not in the Perl >= 5.10 test because Perl seems currently to be  /-- This is not in the Perl-compatible test because Perl seems currently to be
10380      broken and not behaving as specified in that it *does* bumpalong after      broken and not behaving as specified in that it *does* bumpalong after
10381      hitting (*COMMIT). --/      hitting (*COMMIT). --/
10382    
# Line 10549  No match Line 10572  No match
10572          End          End
10573  ------------------------------------------------------------------  ------------------------------------------------------------------
10574    
10575  / -- The first four of these are not in the Perl >= 5.10 test because Perl  / -- This one is here because Perl gives the match as "b" rather than "ab". I
      documents that the use of \K in assertions is "not well defined". The  
      last is here because Perl gives the match as "b" rather than "ab". I  
10576       believe this to be a Perl bug. --/       believe this to be a Perl bug. --/
10577    
 /(?=a\Kb)ab/  
     ab  
  0: b  
   
 /(?!a\Kb)ac/  
     ac  
  0: ac  
   
 /^abc(?<=b\Kc)d/  
     abcd  
  0: cd  
   
 /^abc(?<!b\Kq)d/  
     abcd  
  0: abcd  
   
10578  /(?>a\Kb)z|(ab)/  /(?>a\Kb)z|(ab)/
10579      ab      ab
10580   0: ab   0: ab
10581   1: ab   1: ab
10582    
 /----------------------/  
   
10583  /(?P<L1>(?P<L2>0|)|(?P>L2)(?P>L1))/  /(?P<L1>(?P<L2>0|)|(?P>L2)(?P>L1))/
10584  Failed: recursive call could loop indefinitely at offset 31  Failed: recursive call could loop indefinitely at offset 31
10585    
# Line 10596  Failed: an argument is not allowed for ( Line 10599  Failed: an argument is not allowed for (
10599      ACABX      ACABX
10600  No match  No match
10601    
10602  /--- These should be different, but in Perl 5.11 are not, which I think  /--- These should be different, but in Perl they are not, which I think
10603       is a bug in Perl. ---/       is a bug in Perl. ---/
10604    
10605  /A(*THEN)B|A(*THEN)C/K  /A(*THEN)B|A(*THEN)C/K
# Line 10607  No match Line 10610  No match
10610      AC      AC
10611  No match  No match
10612    
 /--- This should fail; the SKIP advances by one, but when we get to AC, the  
      PRUNE kills it. Perl behaves differently. ---/  
   
 /A(*PRUNE:A)A+(*SKIP:A)(B|Z) | AC/xK  
     AAAC  
 No match, mark = A  
   
10613  /--- Mark names can be duplicated. Perl doesn't give a mark for this one,  /--- Mark names can be duplicated. Perl doesn't give a mark for this one,
10614  though PCRE does. ---/  though PCRE does. ---/
10615    
# Line 10647  No match Line 10643  No match
10643      abcccd      abcccd
10644  No match  No match
10645    
10646  /--- Perl 5.11 gets some of these wrong ---/  /--- Perl gets some of these wrong ---/
10647    
10648  /(?>.(*ACCEPT))*?5/  /(?>.(*ACCEPT))*?5/
10649      abcde      abcde
# Line 10755  No match Line 10751  No match
10751  /\s*\R/BZ  /\s*\R/BZ
10752  ------------------------------------------------------------------  ------------------------------------------------------------------
10753          Bra          Bra
10754          \s*+          \s*
10755            \R
10756            Ket
10757            End
10758    ------------------------------------------------------------------
10759        \x20\x0a
10760     0:  \x0a
10761        \x20\x0d
10762     0:  \x0d
10763        \x20\x0d\x0a
10764     0:  \x0d\x0a
10765    
10766    /\S*\R/BZ
10767    ------------------------------------------------------------------
10768            Bra
10769            \S*+
10770          \R          \R
10771          Ket          Ket
10772          End          End
10773  ------------------------------------------------------------------  ------------------------------------------------------------------
10774        a\x0a
10775     0: a\x0a
10776    
10777  /-- Perl treats this one differently, not failing the second string. I believe  /X\h*\R/BZ
10778      that is a bug in Perl. --/  ------------------------------------------------------------------
10779            Bra
10780            X
10781            \h*+
10782            \R
10783            Ket
10784            End
10785    ------------------------------------------------------------------
10786        X\x20\x0a
10787     0: X \x0a
10788    
10789  /^((abc|abcx)(*THEN)y|abcd)/  /X\H*\R/BZ
10790      abcd  ------------------------------------------------------------------
10791   0: abcd          Bra
10792   1: abcd          X
10793      *** Failers          \H*
10794  No match          \R
10795      abcxy          Ket
10796            End
10797    ------------------------------------------------------------------
10798        X\x0d\x0a
10799     0: X\x0d\x0a
10800    
10801    /X\H+\R/BZ
10802    ------------------------------------------------------------------
10803            Bra
10804            X
10805            \H+
10806            \R
10807            Ket
10808            End
10809    ------------------------------------------------------------------
10810        X\x0d\x0a
10811     0: X\x0d\x0a
10812    
10813    /X\H++\R/BZ
10814    ------------------------------------------------------------------
10815            Bra
10816            X
10817            \H++
10818            \R
10819            Ket
10820            End
10821    ------------------------------------------------------------------
10822        X\x0d\x0a
10823  No match  No match
10824    
10825  /(?<=abc)def/  /(?<=abc)def/
10826      abc\P\P      abc\P\P
10827  Partial match: abc  Partial match at offset 3: abc
10828    
10829  /abc$/  /abc$/
10830      abc      abc
# Line 11022  No need char Line 11071  No need char
11071    
11072  /(^ab|^)+/I  /(^ab|^)+/I
11073  Capturing subpattern count = 1  Capturing subpattern count = 1
11074    May match empty string
11075  Options: anchored  Options: anchored
11076  No first char  No first char
11077  No need char  No need char
11078    
11079  /(^ab|^)++/I  /(^ab|^)++/I
11080  Capturing subpattern count = 1  Capturing subpattern count = 1
11081    May match empty string
11082  Options: anchored  Options: anchored
11083  No first char  No first char
11084  No need char  No need char
# Line 11046  No need char Line 11097  No need char
11097    
11098  /(?:^ab|^)+/I  /(?:^ab|^)+/I
11099  Capturing subpattern count = 0  Capturing subpattern count = 0
11100    May match empty string
11101  Options: anchored  Options: anchored
11102  No first char  No first char
11103  No need char  No need char
11104    
11105  /(?:^ab|^)++/I  /(?:^ab|^)++/I
11106  Capturing subpattern count = 0  Capturing subpattern count = 0
11107    May match empty string
11108  Options: anchored  Options: anchored
11109  No first char  No first char
11110  No need char  No need char
# Line 11070  Need char = 'b' Line 11123  Need char = 'b'
11123    
11124  /(.*ab|.*)+/I  /(.*ab|.*)+/I
11125  Capturing subpattern count = 1  Capturing subpattern count = 1
11126    May match empty string
11127  No options  No options
11128  First char at start or follows newline  First char at start or follows newline
11129  No need char  No need char
11130    
11131  /(.*ab|.*)++/I  /(.*ab|.*)++/I
11132  Capturing subpattern count = 1  Capturing subpattern count = 1
11133    May match empty string
11134  No options  No options
11135  First char at start or follows newline  First char at start or follows newline
11136  No need char  No need char
# Line 11094  Need char = 'b' Line 11149  Need char = 'b'
11149    
11150  /(?:.*ab|.*)+/I  /(?:.*ab|.*)+/I
11151  Capturing subpattern count = 0  Capturing subpattern count = 0
11152    May match empty string
11153  No options  No options
11154  First char at start or follows newline  First char at start or follows newline
11155  No need char  No need char
11156    
11157  /(?:.*ab|.*)++/I  /(?:.*ab|.*)++/I
11158  Capturing subpattern count = 0  Capturing subpattern count = 0
11159    May match empty string
11160  No options  No options
11161  First char at start or follows newline  First char at start or follows newline
11162  No need char  No need char
# Line 11254  No match Line 11311  No match
11311    
11312  /(a)b|ac/++SS  /(a)b|ac/++SS
11313      ac\O3      ac\O3
 Matched, but too many substrings  
11314   0: ac   0: ac
11315   0+   0+
11316    
# Line 11506  Matched, but too many substrings Line 11562  Matched, but too many substrings
11562          Assert not          Assert not
11563          a          a
11564          Ket          Ket
11565          \w+          \w++
11566          Ket          Ket
11567          End          End
11568  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 11614  No match Line 11670  No match
11670    
11671  /\btype\b\W*?\btext\b\W*?\bjavascript\b/IS  /\btype\b\W*?\btext\b\W*?\bjavascript\b/IS
11672  Capturing subpattern count = 0  Capturing subpattern count = 0
11673    Max lookbehind = 1
11674  No options  No options
11675  First char = 't'  First char = 't'
11676  Need char = 't'  Need char = 't'
 Max lookbehind = 1  
11677  Subject length lower bound = 18  Subject length lower bound = 18
11678  No set of starting bytes  No set of starting bytes
11679    
11680  /\btype\b\W*?\btext\b\W*?\bjavascript\b|\burl\b\W*?\bshell:|<input\b.*?\btype\b\W*?\bimage\b|\bonkeyup\b\W*?\=/IS  /\btype\b\W*?\btext\b\W*?\bjavascript\b|\burl\b\W*?\bshell:|<input\b.*?\btype\b\W*?\bimage\b|\bonkeyup\b\W*?\=/IS
11681  Capturing subpattern count = 0  Capturing subpattern count = 0
11682    Max lookbehind = 1
11683  No options  No options
11684  No first char  No first char
11685  No need char  No need char
 Max lookbehind = 1  
11686  Subject length lower bound = 8  Subject length lower bound = 8
11687  Starting byte set: < o t u  Starting byte set: < o t u
11688    
11689  /a(*SKIP)c|b(*ACCEPT)|/+SI  /a(*SKIP)c|b(*ACCEPT)|/+S!I
11690  Capturing subpattern count = 0  Capturing subpattern count = 0
11691    May match empty string
11692  No options  No options
11693  No first char  No first char
11694  No need char  No need char
11695  Study returned NULL  Subject length lower bound = -1
11696    No set of starting bytes
11697      a      a
11698   0:   0:
11699   0+   0+
# Line 11696  Minimum match() limit = 86 Line 11754  Minimum match() limit = 86
11754  Minimum match() recursion limit = 45  Minimum match() recursion limit = 45
11755   0: abbbbbbbbbbbbbbbbbbbbba   0: abbbbbbbbbbbbbbbbbbbbba
11756    
 /-- These tests are in agreement with development Perl 5.015, which has fixed  
     some things, but they don't all work with 5.012, so they aren't in the  
     Perl-compatible tests. Those after the first come from Perl's own test  
     files. --/  
   
 /^((yes|no)(*THEN)(*F))?/  
   yes  
 No match  
   
 /(A (.*)   C? (*THEN)  | A D) (*FAIL)/x  
 AbcdCBefgBhiBqz  
 No match  
   
 /(A (.*)   C? (*THEN)  | A D) z/x  
 AbcdCBefgBhiBqz  
 No match  
   
 /(A (.*)   C? (*THEN)  | A D) \s* (*FAIL)/x  
 AbcdCBefgBhiBqz  
 No match  
   
 /(A (.*)   C? (*THEN)  | A D) \s* z/x  
 AbcdCBefgBhiBqz  
 No match  
   
 /(A (.*)   (?:C|) (*THEN)  | A D) (*FAIL)/x  
 AbcdCBefgBhiBqz  
 No match  
   
 /(A (.*)   (?:C|) (*THEN)  | A D) z/x  
 AbcdCBefgBhiBqz  
 No match  
   
 /(A (.*)   C{0,6} (*THEN)  | A D) (*FAIL)/x  
 AbcdCBefgBhiBqz  
 No match  
   
 /(A (.*)   C{0,6} (*THEN)  | A D) z/x  
 AbcdCBefgBhiBqz  
 No match  
   
 /(A (.*)   (CE){0,6} (*THEN)  | A D) (*FAIL)/x  
 AbcdCEBefgBhiBqz  
 No match  
   
 /(A (.*)   (CE){0,6} (*THEN)  | A D) z/x  
 AbcdCEBefgBhiBqz  
 No match  
   
 /(A (.*)   (CE*){0,6} (*THEN)  | A D) (*FAIL)/x  
 AbcdCBefgBhiBqz  
 No match  
   
 /(A (.*)   (CE*){0,6} (*THEN)  | A D) z/x  
 AbcdCBefgBhiBqz  
 No match  
   
 /-----------------------------------------------/  
   
11757  /^(?>a+)(?>(z+))\w/BZ  /^(?>a+)(?>(z+))\w/BZ
11758  ------------------------------------------------------------------  ------------------------------------------------------------------
11759          Bra          Bra
# Line 11823  No match Line 11822  No match
11822    
11823  /^(?>a+)(?>b+)(?>c+)(?>d+)(?>e+)/  /^(?>a+)(?>b+)(?>c+)(?>d+)(?>e+)/
11824       \Maabbccddee       \Maabbccddee
11825  Minimum match() limit = 12  Minimum match() limit = 11
11826  Minimum match() recursion limit = 3  Minimum match() recursion limit = 3
11827   0: aabbccddee   0: aabbccddee
11828    
11829  /^(?>(a+))(?>(b+))(?>(c+))(?>(d+))(?>(e+))/  /^(?>(a+))(?>(b+))(?>(c+))(?>(d+))(?>(e+))/
11830       \Maabbccddee       \Maabbccddee
11831  Minimum match() limit = 22  Minimum match() limit = 21
11832  Minimum match() recursion limit = 21  Minimum match() recursion limit = 20
11833   0: aabbccddee   0: aabbccddee
11834   1: aa   1: aa
11835   2: bb   2: bb
# Line 11840  Minimum match() recursion limit = 21 Line 11839  Minimum match() recursion limit = 21
11839    
11840  /^(?>(a+))(?>b+)(?>(c+))(?>d+)(?>(e+))/  /^(?>(a+))(?>b+)(?>(c+))(?>d+)(?>(e+))/
11841       \Maabbccddee       \Maabbccddee
11842  Minimum match() limit = 18  Minimum match() limit = 17
11843  Minimum match() recursion limit = 13  Minimum match() recursion limit = 12
11844   0: aabbccddee   0: aabbccddee
11845   1: aa   1: aa
11846   2: cc   2: cc
# Line 12271  Partial match: \x0d\x0d Line 12270  Partial match: \x0d\x0d
12270      \r\r\r\P\P      \r\r\r\P\P
12271   0: \x0d\x0d   0: \x0d\x0d
12272    
12273  /-- This one is here because Perl does not match: it seems to allow the COMMIT  "AB(C(D))(E(F))?(?(?=\2)(?=\4))"
12274  to escape from the assertion. --/      ABCDGHI\O03
12275    Matched, but too many substrings
12276     0: ABCD
12277    
12278    /-- These are all run as real matches in test 1; here we are just checking the
12279    settings of the anchored and startline bits. --/
12280    
12281    /(?>.*?a)(?<=ba)/I
12282    Capturing subpattern count = 0
12283    Max lookbehind = 2
12284    No options
12285    No first char
12286    Need char = 'a'
12287    
12288  /(?=a(*COMMIT)b|ac)ac|ac/  /(?:.*?a)(?<=ba)/I
12289      ac  Capturing subpattern count = 0
12290   0: ac  Max lookbehind = 2
12291    No options
12292    First char at start or follows newline
12293    Need char = 'a'
12294    
12295    /.*?a(*PRUNE)b/I
12296    Capturing subpattern count = 0
12297    No options
12298    No first char
12299    Need char = 'b'
12300    
12301    /.*?a(*PRUNE)b/sI
12302    Capturing subpattern count = 0
12303    Options: dotall
12304    No first char
12305    Need char = 'b'
12306    
12307    /^a(*PRUNE)b/sI
12308    Capturing subpattern count = 0
12309    Options: anchored dotall
12310    No first char
12311    No need char
12312    
12313    /.*?a(*SKIP)b/I
12314    Capturing subpattern count = 0
12315    No options
12316    No first char
12317    Need char = 'b'
12318    
12319    /(?>.*?a)b/sI
12320    Capturing subpattern count = 0
12321    Options: dotall
12322    No first char
12323    Need char = 'b'
12324    
12325    /(?>.*?a)b/I
12326    Capturing subpattern count = 0
12327    No options
12328    No first char
12329    Need char = 'b'
12330    
12331    /(?>^a)b/sI
12332    Capturing subpattern count = 0
12333    Options: anchored dotall
12334    No first char
12335    No need char
12336    
12337    /(?>.*?)(?<=(abcd)|(wxyz))/I
12338    Capturing subpattern count = 2
12339    Max lookbehind = 4
12340    May match empty string
12341    No options
12342    No first char
12343    No need char
12344    
12345    /(?>.*)(?<=(abcd)|(wxyz))/I
12346    Capturing subpattern count = 2
12347    Max lookbehind = 4
12348    May match empty string
12349    No options
12350    No first char
12351    No need char
12352    
12353    "(?>.*)foo"I
12354    Capturing subpattern count = 0
12355    No options
12356    No first char
12357    Need char = 'o'
12358    
12359    "(?>.*?)foo"I
12360    Capturing subpattern count = 0
12361    No options
12362    No first char
12363    Need char = 'o'
12364    
12365    /(?>^abc)/mI
12366    Capturing subpattern count = 0
12367    Options: multiline
12368    First char at start or follows newline
12369    Need char = 'c'
12370    
12371    /(?>.*abc)/mI
12372    Capturing subpattern count = 0
12373    Options: multiline
12374    No first char
12375    Need char = 'c'
12376    
12377    /(?:.*abc)/mI
12378    Capturing subpattern count = 0
12379    Options: multiline
12380    First char at start or follows newline
12381    Need char = 'c'
12382    
12383    /-- Check PCRE_STUDY_EXTRA_NEEDED --/
12384    
12385    /.?/S-I
12386    Capturing subpattern count = 0
12387    May match empty string
12388    No options
12389    No first char
12390    No need char
12391    Study returned NULL
12392    
12393    /.?/S!I
12394    Capturing subpattern count = 0
12395    May match empty string
12396    No options
12397    No first char
12398    No need char
12399    Subject length lower bound = -1
12400    No set of starting bytes
12401    
12402    /(?:(a)+(?C1)bb|aa(?C2)b)/
12403        aab\C+
12404    Callout 1: last capture = 1
12405     0: <unset>
12406     1: a
12407    --->aab
12408        ^ ^     b
12409    Callout 1: last capture = 1
12410     0: <unset>
12411     1: a
12412    --->aab
12413        ^^      b
12414    Callout 2: last capture = -1
12415     0: <unset>
12416    --->aab
12417        ^ ^     b
12418     0: aab
12419    
12420    /(?:(a)++(?C1)bb|aa(?C2)b)/
12421        aab\C+
12422    Callout 1: last capture = 1
12423     0: <unset>
12424     1: a
12425    --->aab
12426        ^ ^     b
12427    Callout 2: last capture = -1
12428     0: <unset>
12429    --->aab
12430        ^ ^     b
12431     0: aab
12432    
12433    /(?:(?>(a))(?C1)bb|aa(?C2)b)/
12434        aab\C+
12435    Callout 1: last capture = 1
12436     0: <unset>
12437     1: a
12438    --->aab
12439        ^^      b
12440    Callout 2: last capture = -1
12441     0: <unset>
12442    --->aab
12443        ^ ^     b
12444     0: aab
12445    
12446    /(?:(?1)(?C1)x|ab(?C2))((a)){0}/
12447        aab\C+
12448    Callout 1: last capture = -1
12449     0: <unset>
12450    --->aab
12451        ^^      x
12452    Callout 1: last capture = -1
12453     0: <unset>
12454    --->aab
12455         ^^     x
12456    Callout 2: last capture = -1
12457     0: <unset>
12458    --->aab
12459         ^ ^    )
12460     0: ab
12461    
12462    /(?1)(?C1)((a)(?C2)){0}/
12463        aab\C+
12464    Callout 2: last capture = 2
12465     0: <unset>
12466     1: <unset>
12467     2: a
12468    --->aab
12469        ^^      )
12470    Callout 1: last capture = -1
12471     0: <unset>
12472    --->aab
12473        ^^      ((a)(?C2)){0}
12474     0: a
12475    
12476    /(?:(a)+(?C1)bb|aa(?C2)b)++/
12477        aab\C+
12478    Callout 1: last capture = 1
12479     0: <unset>
12480     1: a
12481    --->aab
12482        ^ ^     b
12483    Callout 1: last capture = 1
12484     0: <unset>
12485     1: a
12486    --->aab
12487        ^^      b
12488    Callout 2: last capture = -1
12489     0: <unset>
12490    --->aab
12491        ^ ^     b
12492     0: aab
12493        aab\C+\O2
12494    Callout 1: last capture = 1
12495     0: <unset>
12496    --->aab
12497        ^ ^     b
12498    Callout 1: last capture = 1
12499     0: <unset>
12500    --->aab
12501        ^^      b
12502    Callout 2: last capture = -1
12503     0: <unset>
12504    --->aab
12505        ^ ^     b
12506     0: aab
12507    
12508    /(ab)x|ab/
12509        ab\O3
12510     0: ab
12511        ab\O2
12512     0: ab
12513    
12514    /(ab)/
12515        ab\O3
12516    Matched, but too many substrings
12517     0: ab
12518        ab\O2
12519    Matched, but too many substrings
12520     0: ab
12521    
12522    /(?<=123)(*MARK:xx)abc/K
12523        xxxx123a\P\P
12524    Partial match at offset 7, mark=xx: 123a
12525        xxxx123a\P
12526    Partial match at offset 7, mark=xx: 123a
12527    
12528    /123\Kabc/
12529        xxxx123a\P\P
12530    Partial match: 123a
12531        xxxx123a\P
12532    Partial match: 123a
12533    
12534    /^(?(?=a)aa|bb)/C
12535        bb
12536    --->bb
12537     +0 ^      ^
12538     +1 ^      (?(?=a)aa|bb)
12539     +3 ^      (?=a)
12540     +6 ^      a
12541    +11 ^      b
12542    +12 ^^     b
12543    +13 ^ ^    )
12544    +14 ^ ^
12545     0: bb
12546    
12547    /(?C1)^(?C2)(?(?C99)(?=(?C3)a(?C4))(?C5)a(?C6)a(?C7)|(?C8)b(?C9)b(?C10))(?C11)/
12548        bb
12549    --->bb
12550      1 ^      ^
12551      2 ^      (?(?C99)(?=(?C3)a(?C4))(?C5)a(?C6)a(?C7)|(?C8)b(?C9)b(?C10))
12552     99 ^      (?=(?C3)a(?C4))
12553      3 ^      a
12554      8 ^      b
12555      9 ^^     b
12556     10 ^ ^    )
12557     11 ^ ^
12558     0: bb
12559    
12560    /-- Perl seems to have a bug with this one --/
12561    
12562    /aaaaa(*COMMIT)(*PRUNE)b|a+c/
12563        aaaaaac
12564     0: aaaac
12565    
12566    /-- Here are some that Perl treats differently because of the way it handles
12567    backtracking verbs. --/
12568    
12569     /(?!a(*COMMIT)b)ac|ad/
12570         ac
12571     0: ac
12572         ad
12573     0: ad
12574    
12575    /^(?!a(*THEN)b|ac)../
12576         ac
12577    No match
12578         ad
12579     0: ad
12580    
12581    /^(?=a(*THEN)b|ac)/
12582        ac
12583     0:
12584    
12585    /\A.*?(?:a|b(*THEN)c)/
12586        ba
12587     0: ba
12588    
12589    /\A.*?(?:a|b(*THEN)c)++/
12590        ba
12591     0: ba
12592    
12593    /\A.*?(?:a|b(*THEN)c|d)/
12594        ba
12595     0: ba
12596    
12597    /(?:(a(*MARK:X)a+(*SKIP:X)b)){0}(?:(?1)|aac)/
12598        aac
12599     0: aac
12600    
12601    /\A.*?(a|b(*THEN)c)/
12602        ba
12603     0: ba
12604     1: a
12605    
12606    /^(A(*THEN)B|A(*THEN)D)/
12607        AD
12608     0: AD
12609     1: AD
12610    
12611    /(?!b(*THEN)a)bn|bnn/
12612        bnn
12613     0: bn
12614    
12615    /(?(?=b(*SKIP)a)bn|bnn)/
12616        bnn
12617    No match
12618    
12619    /(?=b(*THEN)a|)bn|bnn/
12620        bnn
12621     0: bn
12622    
12623    /-------------------------/
12624    
12625    /(*LIMIT_MATCH=12bc)abc/
12626    Failed: (*VERB) not recognized or malformed at offset 7
12627    
12628    /(*LIMIT_MATCH=4294967290)abc/
12629    Failed: (*VERB) not recognized or malformed at offset 7
12630    
12631    /(*LIMIT_RECURSION=4294967280)abc/I
12632    Capturing subpattern count = 0
12633    Recursion limit = 4294967280
12634    No options
12635    First char = 'a'
12636    Need char = 'c'
12637    
12638    /(a+)*zz/
12639        aaaaaaaaaaaaaz
12640    No match
12641        aaaaaaaaaaaaaz\q3000
12642    Error -8 (match limit exceeded)
12643    
12644    /(a+)*zz/S-
12645        aaaaaaaaaaaaaz\Q10
12646    Error -21 (recursion limit exceeded)
12647    
12648    /(*LIMIT_MATCH=3000)(a+)*zz/I
12649    Capturing subpattern count = 1
12650    Match limit = 3000
12651    No options
12652    No first char
12653    Need char = 'z'
12654        aaaaaaaaaaaaaz
12655    Error -8 (match limit exceeded)
12656        aaaaaaaaaaaaaz\q60000
12657    Error -8 (match limit exceeded)
12658    
12659    /(*LIMIT_MATCH=60000)(*LIMIT_MATCH=3000)(a+)*zz/I
12660    Capturing subpattern count = 1
12661    Match limit = 3000
12662    No options
12663    No first char
12664    Need char = 'z'
12665        aaaaaaaaaaaaaz
12666    Error -8 (match limit exceeded)
12667    
12668    /(*LIMIT_MATCH=60000)(a+)*zz/I
12669    Capturing subpattern count = 1
12670    Match limit = 60000
12671    No options
12672    No first char
12673    Need char = 'z'
12674        aaaaaaaaaaaaaz
12675    No match
12676        aaaaaaaaaaaaaz\q3000
12677    Error -8 (match limit exceeded)
12678    
12679    /(*LIMIT_RECURSION=10)(a+)*zz/IS-
12680    Capturing subpattern count = 1
12681    Recursion limit = 10
12682    No options
12683    No first char
12684    Need char = 'z'
12685    Subject length lower bound = 2
12686    Starting byte set: a z
12687        aaaaaaaaaaaaaz
12688    Error -21 (recursion limit exceeded)
12689        aaaaaaaaaaaaaz\Q1000
12690    Error -21 (recursion limit exceeded)
12691    
12692    /(*LIMIT_RECURSION=10)(*LIMIT_RECURSION=1000)(a+)*zz/IS-
12693    Capturing subpattern count = 1
12694    Recursion limit = 10
12695    No options
12696    No first char
12697    Need char = 'z'
12698    Subject length lower bound = 2
12699    Starting byte set: a z
12700        aaaaaaaaaaaaaz
12701    Error -21 (recursion limit exceeded)
12702    
12703    /(*LIMIT_RECURSION=1000)(a+)*zz/IS-
12704    Capturing subpattern count = 1
12705    Recursion limit = 1000
12706    No options
12707    No first char
12708    Need char = 'z'
12709    Subject length lower bound = 2
12710    Starting byte set: a z
12711        aaaaaaaaaaaaaz
12712    No match
12713        aaaaaaaaaaaaaz\Q10
12714    Error -21 (recursion limit exceeded)
12715    
12716    /-- This test causes a segfault with Perl 5.18.0 --/
12717    
12718    /^(?=(a)){0}b(?1)/
12719        backgammon
12720     0: ba
12721    
12722    /(?|(?<n>f)|(?<n>b))/JI
12723    Capturing subpattern count = 1
12724    Named capturing subpatterns:
12725      n   1
12726    Options: dupnames
12727    No first char
12728    No need char
12729    
12730    /(?<a>abc)(?<a>z)\k<a>()/JDZS
12731    ------------------------------------------------------------------
12732            Bra
12733            CBra 1
12734            abc
12735            Ket
12736            CBra 2
12737            z
12738            Ket
12739            \k<a>2
12740            CBra 3
12741            Ket
12742            Ket
12743            End
12744    ------------------------------------------------------------------
12745    Capturing subpattern count = 3
12746    Max back reference = 2
12747    Named capturing subpatterns:
12748      a   1
12749      a   2
12750    Options: dupnames
12751    First char = 'a'
12752    Need char = 'z'
12753    Subject length lower bound = 5
12754    No set of starting bytes
12755    
12756    /a*[bcd]/BZ
12757    ------------------------------------------------------------------
12758            Bra
12759            a*+
12760            [b-d]
12761            Ket
12762            End
12763    ------------------------------------------------------------------
12764    
12765    /[bcd]*a/BZ
12766    ------------------------------------------------------------------
12767            Bra
12768            [b-d]*
12769            a
12770            Ket
12771            End
12772    ------------------------------------------------------------------
12773    
12774    /-- A complete set of tests for auto-possessification of character types --/
12775    
12776    /\D+\D \D+\d \D+\S \D+\s \D+\W \D+\w \D+. \D+\C \D+\R \D+\H \D+\h \D+\V \D+\v \D+\X \D+\Z \D+\z \D+$/BZx
12777    ------------------------------------------------------------------
12778            Bra
12779            \D+
12780            \D
12781            \D++
12782            \d
12783            \D+
12784            \S
12785            \D+
12786            \s
12787            \D+
12788            \W
12789            \D+
12790            \w
12791            \D+
12792            Any
12793            \D+
12794            AllAny
12795            \D+
12796            \R
12797            \D+
12798            \H
12799            \D+
12800            \h
12801            \D+
12802            \V
12803            \D+
12804            \v
12805            \D+
12806            extuni
12807            \D+
12808            \Z
12809            \D++
12810            \z
12811            \D+
12812            $
12813            Ket
12814            End
12815    ------------------------------------------------------------------
12816    
12817    /\d+\D \d+\d \d+\S \d+\s \d+\W \d+\w \d+. \d+\C \d+\R \d+\H \d+\h \d+\V \d+\v \d+\X \d+\Z \d+\z \d+$/BZx
12818    ------------------------------------------------------------------
12819            Bra
12820            \d++
12821            \D
12822            \d+
12823            \d
12824            \d+
12825            \S
12826            \d++
12827            \s
12828            \d++
12829            \W
12830            \d+
12831            \w
12832            \d+
12833            Any
12834            \d+
12835            AllAny
12836            \d++
12837            \R
12838            \d+
12839            \H
12840            \d++
12841            \h
12842            \d+
12843            \V
12844            \d++
12845            \v
12846            \d+
12847            extuni
12848            \d++
12849            \Z
12850            \d++
12851            \z
12852            \d++
12853            $
12854            Ket
12855            End
12856    ------------------------------------------------------------------
12857    
12858    /\S+\D \S+\d \S+\S \S+\s \S+\W \S+\w \S+. \S+\C \S+\R \S+\H \S+\h \S+\V \S+\v \S+\X \S+\Z \S+\z \S+$/BZx
12859    ------------------------------------------------------------------
12860            Bra
12861            \S+
12862            \D
12863            \S+
12864            \d
12865            \S+
12866            \S
12867            \S++
12868            \s
12869            \S+
12870            \W
12871            \S+
12872            \w
12873            \S+
12874            Any
12875            \S+
12876            AllAny
12877            \S++
12878            \R
12879            \S+
12880            \H
12881            \S++
12882            \h
12883            \S+
12884            \V
12885            \S++
12886            \v
12887            \S+
12888            extuni
12889            \S++
12890            \Z
12891            \S++
12892            \z
12893            \S++
12894            $
12895            Ket
12896            End
12897    ------------------------------------------------------------------
12898    
12899    /\s+\D \s+\d \s+\S \s+\s \s+\W \s+\w \s+. \s+\C \s+\R \s+\H \s+\h \s+\V \s+\v \s+\X \s+\Z \s+\z \s+$/BZx
12900    ------------------------------------------------------------------
12901            Bra
12902            \s+
12903            \D
12904            \s++
12905            \d
12906            \s++
12907            \S
12908            \s+
12909            \s
12910            \s+
12911            \W
12912            \s++
12913            \w
12914            \s+
12915            Any
12916            \s+
12917            AllAny
12918            \s+
12919            \R
12920            \s+
12921            \H
12922            \s+
12923            \h
12924            \s+
12925            \V
12926            \s+
12927            \v
12928            \s+
12929            extuni
12930            \s+
12931            \Z
12932            \s++
12933            \z
12934            \s+
12935            $
12936            Ket
12937            End
12938    ------------------------------------------------------------------
12939    
12940    /\W+\D \W+\d \W+\S \W+\s \W+\W \W+\w \W+. \W+\C \W+\R \W+\H \W+\h \W+\V \W+\v \W+\X \W+\Z \W+\z \W+$/BZx
12941    ------------------------------------------------------------------
12942            Bra
12943            \W+
12944            \D
12945            \W++
12946            \d
12947            \W+
12948            \S
12949            \W+
12950            \s
12951            \W+
12952            \W
12953            \W++
12954            \w
12955            \W+
12956            Any
12957            \W+
12958            AllAny
12959            \W+
12960            \R
12961            \W+
12962            \H
12963            \W+
12964            \h
12965            \W+
12966            \V
12967            \W+
12968            \v
12969            \W+
12970            extuni
12971            \W+
12972            \Z
12973            \W++
12974            \z
12975            \W+
12976            $
12977            Ket
12978            End
12979    ------------------------------------------------------------------
12980    
12981    /\w+\D \w+\d \w+\S \w+\s \w+\W \w+\w \w+. \w+\C \w+\R \w+\H \w+\h \w+\V \w+\v \w+\X \w+\Z \w+\z \w+$/BZx
12982    ------------------------------------------------------------------
12983            Bra
12984            \w+
12985            \D
12986            \w+
12987            \d
12988            \w+
12989            \S
12990            \w++
12991            \s
12992            \w++
12993            \W
12994            \w+
12995            \w
12996            \w+
12997            Any
12998            \w+
12999            AllAny
13000            \w++
13001            \R
13002            \w+
13003            \H
13004            \w++
13005            \h
13006            \w+
13007            \V
13008            \w++
13009            \v
13010            \w+
13011            extuni
13012            \w++
13013            \Z
13014            \w++
13015            \z
13016            \w++
13017            $
13018            Ket
13019            End
13020    ------------------------------------------------------------------
13021    
13022    /\C+\D \C+\d \C+\S \C+\s \C+\W \C+\w \C+. \C+\C \C+\R \C+\H \C+\h \C+\V \C+\v \C+\X \C+\Z \C+\z \C+$/BZx
13023    ------------------------------------------------------------------
13024            Bra
13025            AllAny+
13026            \D
13027            AllAny+
13028            \d
13029            AllAny+
13030            \S
13031            AllAny+
13032            \s
13033            AllAny+
13034            \W
13035            AllAny+
13036            \w
13037            AllAny+
13038            Any
13039            AllAny+
13040            AllAny
13041            AllAny+
13042            \R
13043            AllAny+
13044            \H
13045            AllAny+
13046            \h
13047            AllAny+
13048            \V
13049            AllAny+
13050            \v
13051            AllAny+
13052            extuni
13053            AllAny+
13054            \Z
13055            AllAny++
13056            \z
13057            AllAny+
13058            $
13059            Ket
13060            End
13061    ------------------------------------------------------------------
13062    
13063    /\R+\D \R+\d \R+\S \R+\s \R+\W \R+\w \R+. \R+\C \R+\R \R+\H \R+\h \R+\V \R+\v \R+\X \R+\Z \R+\z \R+$/BZx
13064    ------------------------------------------------------------------
13065            Bra
13066            \R+
13067            \D
13068            \R++
13069            \d
13070            \R+
13071            \S
13072            \R++
13073            \s
13074            \R+
13075            \W
13076            \R++
13077            \w
13078            \R++
13079            Any
13080            \R+
13081            AllAny
13082            \R+
13083            \R
13084            \R+
13085            \H
13086            \R++
13087            \h
13088            \R+
13089            \V
13090            \R+
13091            \v
13092            \R+
13093            extuni
13094            \R+
13095            \Z
13096            \R++
13097            \z
13098            \R+
13099            $
13100            Ket
13101            End
13102    ------------------------------------------------------------------
13103    
13104    /\H+\D \H+\d \H+\S \H+\s \H+\W \H+\w \H+. \H+\C \H+\R \H+\H \H+\h \H+\V \H+\v \H+\X \H+\Z \H+\z \H+$/BZx
13105    ------------------------------------------------------------------
13106            Bra
13107            \H+
13108            \D
13109            \H+
13110            \d
13111            \H+
13112            \S
13113            \H+
13114            \s
13115            \H+
13116            \W
13117            \H+
13118            \w
13119            \H+
13120            Any
13121            \H+
13122            AllAny
13123            \H+
13124            \R
13125            \H+
13126            \H
13127            \H++
13128            \h
13129            \H+
13130            \V
13131            \H+
13132            \v
13133            \H+
13134            extuni
13135            \H+
13136            \Z
13137            \H++
13138            \z
13139            \H+
13140            $
13141            Ket
13142            End
13143    ------------------------------------------------------------------
13144    
13145    /\h+\D \h+\d \h+\S \h+\s \h+\W \h+\w \h+. \h+\C \h+\R \h+\H \h+\h \h+\V \h+\v \h+\X \h+\Z \h+\z \h+$/BZx
13146    ------------------------------------------------------------------
13147            Bra
13148            \h+
13149            \D
13150            \h++
13151            \d
13152            \h++
13153            \S
13154            \h+
13155            \s
13156            \h+
13157            \W
13158            \h++
13159            \w
13160            \h+
13161            Any
13162            \h+
13163            AllAny
13164            \h++
13165            \R
13166            \h++
13167            \H
13168            \h+
13169            \h
13170            \h+
13171            \V
13172            \h++
13173            \v
13174            \h+
13175            extuni
13176            \h+
13177            \Z
13178            \h++
13179            \z
13180            \h+
13181            $
13182            Ket
13183            End
13184    ------------------------------------------------------------------
13185    
13186    /\V+\D \V+\d \V+\S \V+\s \V+\W \V+\w \V+. \V+\C \V+\R \V+\H \V+\h \V+\V \V+\v \V+\X \V+\Z \V+\z \V+$/BZx
13187    ------------------------------------------------------------------
13188            Bra
13189            \V+
13190            \D
13191            \V+
13192            \d
13193            \V+
13194            \S
13195            \V+
13196            \s
13197            \V+
13198            \W
13199            \V+
13200            \w
13201            \V+
13202            Any
13203            \V+
13204            AllAny
13205            \V++
13206            \R
13207            \V+
13208            \H
13209            \V+
13210            \h
13211            \V+
13212            \V
13213            \V++
13214            \v
13215            \V+
13216            extuni
13217            \V+
13218            \Z
13219            \V++
13220            \z
13221            \V+
13222            $
13223            Ket
13224            End
13225    ------------------------------------------------------------------
13226    
13227    /\v+\D \v+\d \v+\S \v+\s \v+\W \v+\w \v+. \v+\C \v+\R \v+\H \v+\h \v+\V \v+\v \v+\X \v+\Z \v+\z \v+$/BZx
13228    ------------------------------------------------------------------
13229            Bra
13230            \v+
13231            \D
13232            \v++
13233            \d
13234            \v++
13235            \S
13236            \v+
13237            \s
13238            \v+
13239            \W
13240            \v++
13241            \w
13242            \v+
13243            Any
13244            \v+
13245            AllAny
13246            \v+
13247            \R
13248            \v+
13249            \H
13250            \v++
13251            \h
13252            \v++
13253            \V
13254            \v+
13255            \v
13256            \v+
13257            extuni
13258            \v+
13259            \Z
13260            \v++
13261            \z
13262            \v+
13263            $
13264            Ket
13265            End
13266    ------------------------------------------------------------------
13267    
13268    /\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
13269    ------------------------------------------------------------------
13270            Bra
13271            extuni+
13272            \D
13273            extuni+
13274            \d
13275            extuni+
13276            \S
13277            extuni+
13278            \s
13279            extuni+
13280            \W
13281            extuni+
13282            \w
13283            extuni+
13284            Any
13285            extuni+
13286            AllAny
13287            extuni+
13288            \R
13289            extuni+
13290            \H
13291            extuni+
13292            \h
13293            extuni+
13294            \V
13295            extuni+
13296            \v
13297            extuni+
13298            extuni
13299            extuni+
13300            \Z
13301            extuni++
13302            \z
13303            extuni+
13304            $
13305            Ket
13306            End
13307    ------------------------------------------------------------------
13308    
13309    / a+\D  a+\d  a+\S  a+\s  a+\W  a+\w  a+.  a+\C  a+\R  a+\H  a+\h  a+\V  a+\v  a+\X  a+\Z  a+\z  a+$/BZx
13310    ------------------------------------------------------------------
13311            Bra
13312            a+
13313            \D
13314            a++
13315            \d
13316            a+
13317            \S
13318            a++
13319            \s
13320            a++
13321            \W
13322            a+
13323            \w
13324            a+
13325            Any
13326            a+
13327            AllAny
13328            a++
13329            \R
13330            a+
13331            \H
13332            a++
13333            \h
13334            a+
13335            \V
13336            a++
13337            \v
13338            a+
13339            extuni
13340            a++
13341            \Z
13342            a++
13343            \z
13344            a++
13345            $
13346            Ket
13347            End
13348    ------------------------------------------------------------------
13349    
13350    /\n+\D \n+\d \n+\S \n+\s \n+\W \n+\w \n+. \n+\C \n+\R \n+\H \n+\h \n+\V \n+\v \n+\X \n+\Z \n+\z \n+$/BZx
13351    ------------------------------------------------------------------
13352            Bra
13353            \x0a+
13354            \D
13355            \x0a++
13356            \d
13357            \x0a++
13358            \S
13359            \x0a+
13360            \s
13361            \x0a+
13362            \W
13363            \x0a++
13364            \w
13365            \x0a+
13366            Any
13367            \x0a+
13368            AllAny
13369            \x0a+
13370            \R
13371            \x0a+
13372            \H
13373            \x0a++
13374            \h
13375            \x0a++
13376            \V
13377            \x0a+
13378            \v
13379            \x0a+
13380            extuni
13381            \x0a+
13382            \Z
13383            \x0a++
13384            \z
13385            \x0a+
13386            $
13387            Ket
13388            End
13389    ------------------------------------------------------------------
13390    
13391    / .+\D  .+\d  .+\S  .+\s  .+\W  .+\w  .+.  .+\C  .+\R  .+\H  .+\h  .+\V  .+\v  .+\X  .+\Z  .+\z  .+$/BZx
13392    ------------------------------------------------------------------
13393            Bra
13394            Any+
13395            \D
13396            Any+
13397            \d
13398            Any+
13399            \S
13400            Any+
13401            \s
13402            Any+
13403            \W
13404            Any+
13405            \w
13406            Any+
13407            Any
13408            Any+
13409            AllAny
13410            Any++
13411            \R
13412            Any+
13413            \H
13414            Any+
13415            \h
13416            Any+
13417            \V
13418            Any+
13419            \v
13420            Any+
13421            extuni
13422            Any+
13423            \Z
13424            Any++
13425            \z
13426            Any+
13427            $
13428            Ket
13429            End
13430    ------------------------------------------------------------------
13431    
13432    / .+\D  .+\d  .+\S  .+\s  .+\W  .+\w  .+.  .+\C  .+\R  .+\H  .+\h  .+\V  .+\v  .+\X  .+\Z  .+\z  .+$/BZxs
13433    ------------------------------------------------------------------
13434            Bra
13435            AllAny+
13436            \D
13437            AllAny+
13438            \d
13439            AllAny+
13440            \S
13441            AllAny+
13442            \s
13443            AllAny+
13444            \W
13445            AllAny+
13446            \w
13447            AllAny+
13448            AllAny
13449            AllAny+
13450            AllAny
13451            AllAny+
13452            \R
13453            AllAny+
13454            \H
13455            AllAny+
13456            \h
13457            AllAny+
13458            \V
13459            AllAny+
13460            \v
13461            AllAny+
13462            extuni
13463            AllAny+
13464            \Z
13465            AllAny++
13466            \z
13467            AllAny+
13468            $
13469            Ket
13470            End
13471    ------------------------------------------------------------------
13472    
13473    /\D+$  \d+$  \S+$  \s+$  \W+$  \w+$  \C+$  \R+$  \H+$  \h+$  \V+$  \v+$  \X+$   a+$  \n+$   .+$  .+$/BZxm
13474    ------------------------------------------------------------------
13475            Bra
13476            \D+
13477         /m $
13478            \d++
13479         /m $
13480            \S++
13481         /m $
13482            \s+
13483         /m $
13484            \W+
13485         /m $
13486            \w++
13487         /m $
13488            AllAny+
13489         /m $
13490            \R+
13491         /m $
13492            \H+
13493         /m $
13494            \h+
13495         /m $
13496            \V+
13497         /m $
13498            \v+
13499         /m $
13500            extuni+
13501         /m $
13502            a+
13503         /m $
13504            \x0a+
13505         /m $
13506            Any+
13507         /m $
13508            Any+
13509         /m $
13510            Ket
13511            End
13512    ------------------------------------------------------------------
13513    
13514    /-- End of special auto-possessive tests --/
13515    
13516  /-- End of testinput2 --/  /-- End of testinput2 --/

Legend:
Removed from v.937  
changed lines
  Added in v.1364

  ViewVC Help
Powered by ViewVC 1.1.5