/[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 848 by ph10, Wed Jan 4 16:34:01 2012 UTC revision 937 by ph10, Sun Feb 26 15:58:56 2012 UTC
# Line 451  Capturing subpattern count = 0 Line 451  Capturing subpattern count = 0
451  No options  No options
452  First char = 'f'  First char = 'f'
453  Need char = 'o'  Need char = 'o'
454    Max lookbehind = 6
455      foo      foo
456   0: foo   0: foo
457      catfoo      catfoo
# Line 658  Capturing subpattern count = 0 Line 659  Capturing subpattern count = 0
659  No options  No options
660  No first char  No first char
661  No need char  No need char
662    Max lookbehind = 3
663  Subject length lower bound = 1  Subject length lower bound = 1
664  Starting byte set: a b  Starting byte set: a b
665    
# Line 666  Capturing subpattern count = 1 Line 668  Capturing subpattern count = 1
668  No options  No options
669  No first char  No first char
670  Need char = 'a'  Need char = 'a'
671    Max lookbehind = 3
672  Subject length lower bound = 5  Subject length lower bound = 5
673  Starting byte set: a o  Starting byte set: a o
674    
# Line 683  Contains explicit CR or LF match Line 686  Contains explicit CR or LF match
686  Options: multiline  Options: multiline
687  No first char  No first char
688  Need char = 'r'  Need char = 'r'
689    Max lookbehind = 4
690      foo\nbarbar      foo\nbarbar
691   0: bar   0: bar
692      ***Failers      ***Failers
# Line 700  Contains explicit CR or LF match Line 704  Contains explicit CR or LF match
704  Options: multiline  Options: multiline
705  First char at start or follows newline  First char at start or follows newline
706  Need char = 'r'  Need char = 'r'
707    Max lookbehind = 4
708      foo\nbarbar      foo\nbarbar
709   0: bar   0: bar
710      ***Failers      ***Failers
# Line 741  Capturing subpattern count = 0 Line 746  Capturing subpattern count = 0
746  No options  No options
747  First char = '-'  First char = '-'
748  Need char = 't'  Need char = 't'
749    Max lookbehind = 7
750      the bullock-cart      the bullock-cart
751   0: -cart   0: -cart
752      a donkey-cart race      a donkey-cart race
# Line 757  Capturing subpattern count = 0 Line 763  Capturing subpattern count = 0
763  No options  No options
764  No first char  No first char
765  No need char  No need char
766    Max lookbehind = 3
767    
768  /(?>.*)(?<=(abcd)|(xyz))/I  /(?>.*)(?<=(abcd)|(xyz))/I
769  Capturing subpattern count = 2  Capturing subpattern count = 2
770  No options  No options
771  First char at start or follows newline  First char at start or follows newline
772  No need char  No need char
773    Max lookbehind = 4
774      alphabetabcd      alphabetabcd
775   0: alphabetabcd   0: alphabetabcd
776   1: abcd   1: abcd
# Line 776  Capturing subpattern count = 0 Line 784  Capturing subpattern count = 0
784  No options  No options
785  First char = 'Z'  First char = 'Z'
786  Need char = 'Z'  Need char = 'Z'
787    Max lookbehind = 4
788      abxyZZ      abxyZZ
789   0: ZZ   0: ZZ
790      abXyZZ      abXyZZ
# Line 804  Capturing subpattern count = 1 Line 813  Capturing subpattern count = 1
813  No options  No options
814  First char = 'b'  First char = 'b'
815  Need char = 'r'  Need char = 'r'
816    Max lookbehind = 4
817      bar      bar
818   0: bar   0: bar
819      foobbar      foobbar
# Line 1205  Capturing subpattern count = 0 Line 1215  Capturing subpattern count = 0
1215  No options  No options
1216  First char = 'i'  First char = 'i'
1217  Need char = 's'  Need char = 's'
1218    Max lookbehind = 1
1219      Mississippi      Mississippi
1220   0: iss   0: iss
1221   0+ issippi   0+ issippi
# Line 1225  Capturing subpattern count = 0 Line 1236  Capturing subpattern count = 0
1236  No options  No options
1237  First char = 'i'  First char = 'i'
1238  Need char = 's'  Need char = 's'
1239    Max lookbehind = 1
1240      Mississippi      Mississippi
1241   0: iss   0: iss
1242   0+ issippi   0+ issippi
# Line 1234  Capturing subpattern count = 0 Line 1246  Capturing subpattern count = 0
1246  No options  No options
1247  First char = 'i'  First char = 'i'
1248  Need char = 's'  Need char = 's'
1249    Max lookbehind = 1
1250      Mississippi      Mississippi
1251   0: iss   0: iss
1252   0+ issippi   0+ issippi
# Line 1249  Capturing subpattern count = 0 Line 1262  Capturing subpattern count = 0
1262  No options  No options
1263  First char = 'i'  First char = 'i'
1264  Need char = 's'  Need char = 's'
1265    Max lookbehind = 1
1266      Mississippi      Mississippi
1267   0: iss   0: iss
1268   0+ issippi   0+ issippi
# Line 1260  Capturing subpattern count = 0 Line 1274  Capturing subpattern count = 0
1274  No options  No options
1275  First char = 'i'  First char = 'i'
1276  Need char = 's'  Need char = 's'
1277    Max lookbehind = 1
1278      Mississippi      Mississippi
1279   0: iss   0: iss
1280   0+ issippi   0+ issippi
# Line 1440  Capturing subpattern count = 0 Line 1455  Capturing subpattern count = 0
1455  No options  No options
1456  No first char  No first char
1457  No need char  No need char
1458    Max lookbehind = 3
1459    
1460  /abc(?!pqr)/I  /abc(?!pqr)/I
1461  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 3220  Capturing subpattern count = 0 Line 3236  Capturing subpattern count = 0
3236  No options  No options
3237  First char = '8'  First char = '8'
3238  Need char = 'X'  Need char = 'X'
3239    Max lookbehind = 1
3240    
3241  |\$\<\.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
3242  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 3233  Capturing subpattern count = 0 Line 3250  Capturing subpattern count = 0
3250  No options  No options
3251  First char = '$'  First char = '$'
3252  Need char = 'X'  Need char = 'X'
3253    Max lookbehind = 1
3254    
3255  /(.*)\d+\1/I  /(.*)\d+\1/I
3256  Capturing subpattern count = 1  Capturing subpattern count = 1
# Line 3748  Capturing subpattern count = 1 Line 3766  Capturing subpattern count = 1
3766  No options  No options
3767  First char = 'x'  First char = 'x'
3768  Need char = 'z'  Need char = 'z'
3769    Max lookbehind = 3
3770     abcxyz\C+     abcxyz\C+
3771  Callout 0: last capture = 1  Callout 0: last capture = 1
3772   0: <unset>   0: <unset>
# Line 5395  Capturing subpattern count = 0 Line 5414  Capturing subpattern count = 0
5414  No options  No options
5415  No first char  No first char
5416  No need char  No need char
5417    Max lookbehind = 1
5418    ab cd\>1    ab cd\>1
5419   0:  cd   0:  cd
5420    
# Line 5403  Capturing subpattern count = 0 Line 5423  Capturing subpattern count = 0
5423  Options: dotall  Options: dotall
5424  No first char  No first char
5425  No need char  No need char
5426    Max lookbehind = 1
5427    ab cd\>1    ab cd\>1
5428   0:  cd   0:  cd
5429    
# Line 6365  No need char Line 6386  No need char
6386   9:   9:
6387  10: Y  10: Y
6388    
 /\777/I  
 Failed: octal value is greater than \377 in 8-bit non-UTF-8 mode at offset 3  
   
6389  /\s*,\s*/IS  /\s*,\s*/IS
6390  Capturing subpattern count = 0  Capturing subpattern count = 0
6391  No options  No options
# Line 11599  Capturing subpattern count = 0 Line 11617  Capturing subpattern count = 0
11617  No options  No options
11618  First char = 't'  First char = 't'
11619  Need char = 't'  Need char = 't'
11620    Max lookbehind = 1
11621  Subject length lower bound = 18  Subject length lower bound = 18
11622  No set of starting bytes  No set of starting bytes
11623    
# Line 11607  Capturing subpattern count = 0 Line 11626  Capturing subpattern count = 0
11626  No options  No options
11627  No first char  No first char
11628  No need char  No need char
11629    Max lookbehind = 1
11630  Subject length lower bound = 8  Subject length lower bound = 8
11631  Starting byte set: < o t u  Starting byte set: < o t u
11632    
# Line 11973  No match, mark = m Line 11993  No match, mark = m
11993  /^a(*:X)bcde/K  /^a(*:X)bcde/K
11994     abc\P     abc\P
11995  Partial match, mark=X: abc  Partial match, mark=X: abc
11996    
11997    /-- These are here because Perl doesn't return a mark, except for the first --/
11998    
11999    /(?=(*:x))(q|)/K+
12000        abc
12001     0:
12002     0+ abc
12003     1:
12004    MK: x
12005    
12006    /(?=(*:x))((*:y)q|)/K+
12007        abc
12008     0:
12009     0+ abc
12010     1:
12011    MK: x
12012    
12013    /(?=(*:x))(?:(*:y)q|)/K+
12014        abc
12015     0:
12016     0+ abc
12017    MK: x
12018    
12019    /(?=(*:x))(?>(*:y)q|)/K+
12020        abc
12021     0:
12022     0+ abc
12023    MK: x
12024    
12025    /(?=a(*:x))(?!a(*:y)c)/K+
12026        ab
12027     0:
12028     0+ ab
12029    MK: x
12030    
12031    /(?=a(*:x))(?=a(*:y)c|)/K+
12032        ab
12033     0:
12034     0+ ab
12035    MK: x
12036    
12037    /(..)\1/
12038        ab\P
12039    Partial match: ab
12040        aba\P
12041    Partial match: aba
12042        abab\P
12043     0: abab
12044     1: ab
12045    
12046    /(..)\1/i
12047        ab\P
12048    Partial match: ab
12049        abA\P
12050    Partial match: abA
12051        aBAb\P
12052     0: aBAb
12053     1: aB
12054    
12055    /(..)\1{2,}/
12056        ab\P
12057    Partial match: ab
12058        aba\P
12059    Partial match: aba
12060        abab\P
12061    Partial match: abab
12062        ababa\P
12063    Partial match: ababa
12064        ababab\P
12065     0: ababab
12066     1: ab
12067        ababab\P\P
12068    Partial match: ababab
12069        abababa\P
12070     0: ababab
12071     1: ab
12072        abababa\P\P
12073    Partial match: abababa
12074    
12075    /(..)\1{2,}/i
12076        ab\P
12077    Partial match: ab
12078        aBa\P
12079    Partial match: aBa
12080        aBAb\P
12081    Partial match: aBAb
12082        AbaBA\P
12083    Partial match: AbaBA
12084        abABAb\P
12085     0: abABAb
12086     1: ab
12087        aBAbaB\P\P
12088    Partial match: aBAbaB
12089        abABabA\P
12090     0: abABab
12091     1: ab
12092        abaBABa\P\P
12093    Partial match: abaBABa
12094    
12095    /(..)\1{2,}?x/i
12096        ab\P
12097    Partial match: ab
12098        abA\P
12099    Partial match: abA
12100        aBAb\P
12101    Partial match: aBAb
12102        abaBA\P
12103    Partial match: abaBA
12104        abAbaB\P
12105    Partial match: abAbaB
12106        abaBabA\P
12107    Partial match: abaBabA
12108        abAbABaBx\P
12109     0: abAbABaBx
12110     1: ab
12111    
12112    /^(..)\1/
12113        aba\P
12114    Partial match: aba
12115    
12116    /^(..)\1{2,3}x/
12117        aba\P
12118    Partial match: aba
12119        ababa\P
12120    Partial match: ababa
12121        ababa\P\P
12122    Partial match: ababa
12123        abababx
12124     0: abababx
12125     1: ab
12126        ababababx
12127     0: ababababx
12128     1: ab
12129    
12130    /^(..)\1{2,3}?x/
12131        aba\P
12132    Partial match: aba
12133        ababa\P
12134    Partial match: ababa
12135        ababa\P\P
12136    Partial match: ababa
12137        abababx
12138     0: abababx
12139     1: ab
12140        ababababx
12141     0: ababababx
12142     1: ab
12143    
12144    /^(..)(\1{2,3})ab/
12145        abababab
12146     0: abababab
12147     1: ab
12148     2: abab
12149    
12150    /^\R/
12151        \r\P
12152     0: \x0d
12153        \r\P\P
12154    Partial match: \x0d
12155    
12156    /^\R{2,3}x/
12157        \r\P
12158    Partial match: \x0d
12159        \r\P\P
12160    Partial match: \x0d
12161        \r\r\P
12162    Partial match: \x0d\x0d
12163        \r\r\P\P
12164    Partial match: \x0d\x0d
12165        \r\r\r\P
12166    Partial match: \x0d\x0d\x0d
12167        \r\r\r\P\P
12168    Partial match: \x0d\x0d\x0d
12169        \r\rx
12170     0: \x0d\x0dx
12171        \r\r\rx
12172     0: \x0d\x0d\x0dx
12173    
12174    /^\R{2,3}?x/
12175        \r\P
12176    Partial match: \x0d
12177        \r\P\P
12178    Partial match: \x0d
12179        \r\r\P
12180    Partial match: \x0d\x0d
12181        \r\r\P\P
12182    Partial match: \x0d\x0d
12183        \r\r\r\P
12184    Partial match: \x0d\x0d\x0d
12185        \r\r\r\P\P
12186    Partial match: \x0d\x0d\x0d
12187        \r\rx
12188     0: \x0d\x0dx
12189        \r\r\rx
12190     0: \x0d\x0d\x0dx
12191    
12192    /^\R?x/
12193        \r\P
12194    Partial match: \x0d
12195        \r\P\P
12196    Partial match: \x0d
12197        x
12198     0: x
12199        \rx
12200     0: \x0dx
12201    
12202    /^\R+x/
12203        \r\P
12204    Partial match: \x0d
12205        \r\P\P
12206    Partial match: \x0d
12207        \r\n\P
12208    Partial match: \x0d\x0a
12209        \r\n\P\P
12210    Partial match: \x0d\x0a
12211        \rx
12212     0: \x0dx
12213    
12214    /^a$/<CRLF>
12215        a\r\P
12216    Partial match: a\x0d
12217        a\r\P\P
12218    Partial match: a\x0d
12219    
12220    /^a$/m<CRLF>
12221        a\r\P
12222    Partial match: a\x0d
12223        a\r\P\P
12224    Partial match: a\x0d
12225    
12226    /^(a$|a\r)/<CRLF>
12227        a\r\P
12228     0: a\x0d
12229     1: a\x0d
12230        a\r\P\P
12231    Partial match: a\x0d
12232    
12233    /^(a$|a\r)/m<CRLF>
12234        a\r\P
12235     0: a\x0d
12236     1: a\x0d
12237        a\r\P\P
12238    Partial match: a\x0d
12239    
12240    /./<CRLF>
12241        \r\P
12242     0: \x0d
12243        \r\P\P
12244    Partial match: \x0d
12245    
12246    /.{2,3}/<CRLF>
12247        \r\P
12248    Partial match: \x0d
12249        \r\P\P
12250    Partial match: \x0d
12251        \r\r\P
12252     0: \x0d\x0d
12253        \r\r\P\P
12254    Partial match: \x0d\x0d
12255        \r\r\r\P
12256     0: \x0d\x0d\x0d
12257        \r\r\r\P\P
12258    Partial match: \x0d\x0d\x0d
12259    
12260    /.{2,3}?/<CRLF>
12261        \r\P
12262    Partial match: \x0d
12263        \r\P\P
12264    Partial match: \x0d
12265        \r\r\P
12266     0: \x0d\x0d
12267        \r\r\P\P
12268    Partial match: \x0d\x0d
12269        \r\r\r\P
12270     0: \x0d\x0d
12271        \r\r\r\P\P
12272     0: \x0d\x0d
12273    
12274    /-- This one is here because Perl does not match: it seems to allow the COMMIT
12275    to escape from the assertion. --/
12276    
12277    /(?=a(*COMMIT)b|ac)ac|ac/
12278        ac
12279     0: ac
12280    
12281  /-- End of testinput2 --/  /-- End of testinput2 --/

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

  ViewVC Help
Powered by ViewVC 1.1.5