/[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 1311 by ph10, Mon Apr 22 17:35:23 2013 UTC revision 1313 by ph10, Wed Apr 24 12:07:09 2013 UTC
# Line 448  Need char = '=' Line 448  Need char = '='
448    
449  /(?<!bar|cattle)foo/I  /(?<!bar|cattle)foo/I
450  Capturing subpattern count = 0  Capturing subpattern count = 0
451    Max lookbehind = 6
452  No options  No options
453  First char = 'f'  First char = 'f'
454  Need char = 'o'  Need char = 'o'
 Max lookbehind = 6  
455      foo      foo
456   0: foo   0: foo
457      catfoo      catfoo
# Line 631  No match Line 631  No match
631    
632  /\Aabc/Im  /\Aabc/Im
633  Capturing subpattern count = 0  Capturing subpattern count = 0
634    Max lookbehind = 1
635  Options: anchored multiline  Options: anchored multiline
636  No first char  No first char
637  No need char  No need char
 Max lookbehind = 1  
638    
639  /^abc/Im  /^abc/Im
640  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 657  No need char Line 657  No need char
657    
658  /(?<=foo)[ab]/IS  /(?<=foo)[ab]/IS
659  Capturing subpattern count = 0  Capturing subpattern count = 0
660    Max lookbehind = 3
661  No options  No options
662  No first char  No first char
663  No need char  No need char
 Max lookbehind = 3  
664  Subject length lower bound = 1  Subject length lower bound = 1
665  Starting byte set: a b  Starting byte set: a b
666    
667  /(?<!foo)(alpha|omega)/IS  /(?<!foo)(alpha|omega)/IS
668  Capturing subpattern count = 1  Capturing subpattern count = 1
669    Max lookbehind = 3
670  No options  No options
671  No first char  No first char
672  Need char = 'a'  Need char = 'a'
 Max lookbehind = 3  
673  Subject length lower bound = 5  Subject length lower bound = 5
674  Starting byte set: a o  Starting byte set: a o
675    
# Line 683  Starting byte set: a b Line 683  Starting byte set: a b
683    
684  /(?<=foo\n)^bar/Im  /(?<=foo\n)^bar/Im
685  Capturing subpattern count = 0  Capturing subpattern count = 0
686    Max lookbehind = 4
687  Contains explicit CR or LF match  Contains explicit CR or LF match
688  Options: multiline  Options: multiline
689  No first char  No first char
690  Need char = 'r'  Need char = 'r'
 Max lookbehind = 4  
691      foo\nbarbar      foo\nbarbar
692   0: bar   0: bar
693      ***Failers      ***Failers
# Line 701  No match Line 701  No match
701    
702  /^(?<=foo\n)bar/Im  /^(?<=foo\n)bar/Im
703  Capturing subpattern count = 0  Capturing subpattern count = 0
704    Max lookbehind = 4
705  Contains explicit CR or LF match  Contains explicit CR or LF match
706  Options: multiline  Options: multiline
707  First char at start or follows newline  First char at start or follows newline
708  Need char = 'r'  Need char = 'r'
 Max lookbehind = 4  
709      foo\nbarbar      foo\nbarbar
710   0: bar   0: bar
711      ***Failers      ***Failers
# Line 744  Failed: lookbehind assertion is not fixe Line 744  Failed: lookbehind assertion is not fixe
744    
745  /(?<=bullock|donkey)-cart/I  /(?<=bullock|donkey)-cart/I
746  Capturing subpattern count = 0  Capturing subpattern count = 0
747    Max lookbehind = 7
748  No options  No options
749  First char = '-'  First char = '-'
750  Need char = 't'  Need char = 't'
 Max lookbehind = 7  
751      the bullock-cart      the bullock-cart
752   0: -cart   0: -cart
753      a donkey-cart race      a donkey-cart race
# Line 761  No match Line 761  No match
761    
762  /(?<=ab(?i)x|y|z)/I  /(?<=ab(?i)x|y|z)/I
763  Capturing subpattern count = 0  Capturing subpattern count = 0
764    Max lookbehind = 3
765  No options  No options
766  No first char  No first char
767  No need char  No need char
 Max lookbehind = 3  
768    
769  /(?>.*)(?<=(abcd)|(xyz))/I  /(?>.*)(?<=(abcd)|(xyz))/I
770  Capturing subpattern count = 2  Capturing subpattern count = 2
771    Max lookbehind = 4
772  No options  No options
773  No first char  No first char
774  No need char  No need char
 Max lookbehind = 4  
775      alphabetabcd      alphabetabcd
776   0: alphabetabcd   0: alphabetabcd
777   1: abcd   1: abcd
# Line 782  Max lookbehind = 4 Line 782  Max lookbehind = 4
782    
783  /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/I  /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/I
784  Capturing subpattern count = 0  Capturing subpattern count = 0
785    Max lookbehind = 4
786  No options  No options
787  First char = 'Z'  First char = 'Z'
788  Need char = 'Z'  Need char = 'Z'
 Max lookbehind = 4  
789      abxyZZ      abxyZZ
790   0: ZZ   0: ZZ
791      abXyZZ      abXyZZ
# Line 811  No match Line 811  No match
811    
812  /(?<!(foo)a)bar/I  /(?<!(foo)a)bar/I
813  Capturing subpattern count = 1  Capturing subpattern count = 1
814    Max lookbehind = 4
815  No options  No options
816  First char = 'b'  First char = 'b'
817  Need char = 'r'  Need char = 'r'
 Max lookbehind = 4  
818      bar      bar
819   0: bar   0: bar
820      foobbar      foobbar
# Line 1197  No need char Line 1197  No need char
1197    
1198  /\Biss\B/I+  /\Biss\B/I+
1199  Capturing subpattern count = 0  Capturing subpattern count = 0
1200    Max lookbehind = 1
1201  No options  No options
1202  First char = 'i'  First char = 'i'
1203  Need char = 's'  Need char = 's'
 Max lookbehind = 1  
1204      Mississippi      Mississippi
1205   0: iss   0: iss
1206   0+ issippi   0+ issippi
# Line 1218  Need char = 's' Line 1218  Need char = 's'
1218    
1219  /\Biss\B/IG+  /\Biss\B/IG+
1220  Capturing subpattern count = 0  Capturing subpattern count = 0
1221    Max lookbehind = 1
1222  No options  No options
1223  First char = 'i'  First char = 'i'
1224  Need char = 's'  Need char = 's'
 Max lookbehind = 1  
1225      Mississippi      Mississippi
1226   0: iss   0: iss
1227   0+ issippi   0+ issippi
1228    
1229  /\Biss\B/Ig+  /\Biss\B/Ig+
1230  Capturing subpattern count = 0  Capturing subpattern count = 0
1231    Max lookbehind = 1
1232  No options  No options
1233  First char = 'i'  First char = 'i'
1234  Need char = 's'  Need char = 's'
 Max lookbehind = 1  
1235      Mississippi      Mississippi
1236   0: iss   0: iss
1237   0+ issippi   0+ issippi
# Line 1244  No match Line 1244  No match
1244    
1245  /(?<=[Ms])iss/Ig+  /(?<=[Ms])iss/Ig+
1246  Capturing subpattern count = 0  Capturing subpattern count = 0
1247    Max lookbehind = 1
1248  No options  No options
1249  First char = 'i'  First char = 'i'
1250  Need char = 's'  Need char = 's'
 Max lookbehind = 1  
1251      Mississippi      Mississippi
1252   0: iss   0: iss
1253   0+ issippi   0+ issippi
# Line 1256  Max lookbehind = 1 Line 1256  Max lookbehind = 1
1256    
1257  /(?<=[Ms])iss/IG+  /(?<=[Ms])iss/IG+
1258  Capturing subpattern count = 0  Capturing subpattern count = 0
1259    Max lookbehind = 1
1260  No options  No options
1261  First char = 'i'  First char = 'i'
1262  Need char = 's'  Need char = 's'
 Max lookbehind = 1  
1263      Mississippi      Mississippi
1264   0: iss   0: iss
1265   0+ issippi   0+ issippi
# Line 1437  Need char = 'r' Line 1437  Need char = 'r'
1437    
1438  /...(?<=abc)/I  /...(?<=abc)/I
1439  Capturing subpattern count = 0  Capturing subpattern count = 0
1440    Max lookbehind = 3
1441  No options  No options
1442  No first char  No first char
1443  No need char  No need char
 Max lookbehind = 3  
1444    
1445  /abc(?!pqr)/I  /abc(?!pqr)/I
1446  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 3218  No match Line 3218  No match
3218          End          End
3219  ------------------------------------------------------------------  ------------------------------------------------------------------
3220  Capturing subpattern count = 0  Capturing subpattern count = 0
3221    Max lookbehind = 1
3222  No options  No options
3223  First char = '8'  First char = '8'
3224  Need char = 'X'  Need char = 'X'
 Max lookbehind = 1  
3225    
3226  |\$\<\.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
3227  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 3232  Max lookbehind = 1 Line 3232  Max lookbehind = 1
3232          End          End
3233  ------------------------------------------------------------------  ------------------------------------------------------------------
3234  Capturing subpattern count = 0  Capturing subpattern count = 0
3235    Max lookbehind = 1
3236  No options  No options
3237  First char = '$'  First char = '$'
3238  Need char = 'X'  Need char = 'X'
 Max lookbehind = 1  
3239    
3240  /(.*)\d+\1/I  /(.*)\d+\1/I
3241  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 3748  Callout 2: last capture = -1 Line 3748  Callout 2: last capture = -1
3748    
3749  /(?<=(abc)(?C))xyz/I  /(?<=(abc)(?C))xyz/I
3750  Capturing subpattern count = 1  Capturing subpattern count = 1
3751    Max lookbehind = 3
3752  No options  No options
3753  First char = 'x'  First char = 'x'
3754  Need char = 'z'  Need char = 'z'
 Max lookbehind = 3  
3755     abcxyz\C+     abcxyz\C+
3756  Callout 0: last capture = 1  Callout 0: last capture = 1
3757   0: <unset>   0: <unset>
# Line 5396  Need char = '3' Line 5396  Need char = '3'
5396    
5397  /\b.*/I  /\b.*/I
5398  Capturing subpattern count = 0  Capturing subpattern count = 0
5399    Max lookbehind = 1
5400  No options  No options
5401  No first char  No first char
5402  No need char  No need char
 Max lookbehind = 1  
5403    ab cd\>1    ab cd\>1
5404   0:  cd   0:  cd
5405    
5406  /\b.*/Is  /\b.*/Is
5407  Capturing subpattern count = 0  Capturing subpattern count = 0
5408    Max lookbehind = 1
5409  Options: dotall  Options: dotall
5410  No first char  No first char
5411  No need char  No need char
 Max lookbehind = 1  
5412    ab cd\>1    ab cd\>1
5413   0:  cd   0:  cd
5414    
# Line 8788  No match Line 8788  No match
8788   1: \x0a   1: \x0a
8789    
8790  /a(*CR)b/  /a(*CR)b/
8791  Failed: (*VERB) not recognized at offset 5  Failed: (*VERB) not recognized or malformed at offset 5
8792    
8793  /(*CR)a.b/  /(*CR)a.b/
8794      a\nb      a\nb
# Line 11627  No match Line 11627  No match
11627    
11628  /\btype\b\W*?\btext\b\W*?\bjavascript\b/IS  /\btype\b\W*?\btext\b\W*?\bjavascript\b/IS
11629  Capturing subpattern count = 0  Capturing subpattern count = 0
11630    Max lookbehind = 1
11631  No options  No options
11632  First char = 't'  First char = 't'
11633  Need char = 't'  Need char = 't'
 Max lookbehind = 1  
11634  Subject length lower bound = 18  Subject length lower bound = 18
11635  No set of starting bytes  No set of starting bytes
11636    
11637  /\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
11638  Capturing subpattern count = 0  Capturing subpattern count = 0
11639    Max lookbehind = 1
11640  No options  No options
11641  No first char  No first char
11642  No need char  No need char
 Max lookbehind = 1  
11643  Subject length lower bound = 8  Subject length lower bound = 8
11644  Starting byte set: < o t u  Starting byte set: < o t u
11645    
# Line 12236  settings of the anchored and startline b Line 12236  settings of the anchored and startline b
12236    
12237  /(?>.*?a)(?<=ba)/I  /(?>.*?a)(?<=ba)/I
12238  Capturing subpattern count = 0  Capturing subpattern count = 0
12239    Max lookbehind = 2
12240  No options  No options
12241  No first char  No first char
12242  Need char = 'a'  Need char = 'a'
 Max lookbehind = 2  
12243    
12244  /(?:.*?a)(?<=ba)/I  /(?:.*?a)(?<=ba)/I
12245  Capturing subpattern count = 0  Capturing subpattern count = 0
12246    Max lookbehind = 2
12247  No options  No options
12248  First char at start or follows newline  First char at start or follows newline
12249  Need char = 'a'  Need char = 'a'
 Max lookbehind = 2  
12250    
12251  /.*?a(*PRUNE)b/I  /.*?a(*PRUNE)b/I
12252  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 12292  No need char Line 12292  No need char
12292    
12293  /(?>.*?)(?<=(abcd)|(wxyz))/I  /(?>.*?)(?<=(abcd)|(wxyz))/I
12294  Capturing subpattern count = 2  Capturing subpattern count = 2
12295    Max lookbehind = 4
12296  No options  No options
12297  No first char  No first char
12298  No need char  No need char
 Max lookbehind = 4  
12299    
12300  /(?>.*)(?<=(abcd)|(wxyz))/I  /(?>.*)(?<=(abcd)|(wxyz))/I
12301  Capturing subpattern count = 2  Capturing subpattern count = 2
12302    Max lookbehind = 4
12303  No options  No options
12304  No first char  No first char
12305  No need char  No need char
 Max lookbehind = 4  
12306    
12307  "(?>.*)foo"I  "(?>.*)foo"I
12308  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 12574  No match Line 12574  No match
12574    
12575  /-------------------------/  /-------------------------/
12576    
12577    /(*LIMIT_MATCH=12bc)abc/
12578    Failed: (*VERB) not recognized or malformed at offset 7
12579    
12580    /(*LIMIT_MATCH=4294967290)abc/
12581    Failed: (*VERB) not recognized or malformed at offset 7
12582    
12583    /(*LIMIT_RECURSION=4294967280)abc/I
12584    Capturing subpattern count = 0
12585    Recursion limit = 4294967280
12586    No options
12587    First char = 'a'
12588    Need char = 'c'
12589    
12590    /(a+)*zz/
12591        aaaaaaaaaaaaaz
12592    No match
12593        aaaaaaaaaaaaaz\q3000
12594    Error -8 (match limit exceeded)
12595    
12596    /(a+)*zz/S-
12597        aaaaaaaaaaaaaz\Q10
12598    Error -21 (recursion limit exceeded)
12599    
12600    /(*LIMIT_MATCH=3000)(a+)*zz/I
12601    Capturing subpattern count = 1
12602    Match limit = 3000
12603    No options
12604    No first char
12605    Need char = 'z'
12606        aaaaaaaaaaaaaz
12607    Error -8 (match limit exceeded)
12608        aaaaaaaaaaaaaz\q60000
12609    Error -8 (match limit exceeded)
12610    
12611    /(*LIMIT_MATCH=60000)(*LIMIT_MATCH=3000)(a+)*zz/I
12612    Capturing subpattern count = 1
12613    Match limit = 3000
12614    No options
12615    No first char
12616    Need char = 'z'
12617        aaaaaaaaaaaaaz
12618    Error -8 (match limit exceeded)
12619    
12620    /(*LIMIT_MATCH=60000)(a+)*zz/I
12621    Capturing subpattern count = 1
12622    Match limit = 60000
12623    No options
12624    No first char
12625    Need char = 'z'
12626        aaaaaaaaaaaaaz
12627    No match
12628        aaaaaaaaaaaaaz\q3000
12629    Error -8 (match limit exceeded)
12630    
12631    /(*LIMIT_RECURSION=10)(a+)*zz/IS-
12632    Capturing subpattern count = 1
12633    Recursion limit = 10
12634    No options
12635    No first char
12636    Need char = 'z'
12637    Subject length lower bound = 2
12638    Starting byte set: a z
12639        aaaaaaaaaaaaaz
12640    Error -21 (recursion limit exceeded)
12641        aaaaaaaaaaaaaz\Q1000
12642    Error -21 (recursion limit exceeded)
12643    
12644    /(*LIMIT_RECURSION=10)(*LIMIT_RECURSION=1000)(a+)*zz/IS-
12645    Capturing subpattern count = 1
12646    Recursion limit = 10
12647    No options
12648    No first char
12649    Need char = 'z'
12650    Subject length lower bound = 2
12651    Starting byte set: a z
12652        aaaaaaaaaaaaaz
12653    Error -21 (recursion limit exceeded)
12654    
12655    /(*LIMIT_RECURSION=1000)(a+)*zz/IS-
12656    Capturing subpattern count = 1
12657    Recursion limit = 1000
12658    No options
12659    No first char
12660    Need char = 'z'
12661    Subject length lower bound = 2
12662    Starting byte set: a z
12663        aaaaaaaaaaaaaz
12664    No match
12665        aaaaaaaaaaaaaz\Q10
12666    Error -21 (recursion limit exceeded)
12667    
12668  /-- End of testinput2 --/  /-- End of testinput2 --/

Legend:
Removed from v.1311  
changed lines
  Added in v.1313

  ViewVC Help
Powered by ViewVC 1.1.5