/[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 210 by ph10, Wed Aug 8 14:24:50 2007 UTC revision 247 by ph10, Mon Sep 17 09:38:32 2007 UTC
# Line 703  Starting byte set: a b Line 703  Starting byte set: a b
703    
704  /(?<=foo\n)^bar/Im  /(?<=foo\n)^bar/Im
705  Capturing subpattern count = 0  Capturing subpattern count = 0
706    Contains explicit CR or LF match
707  Options: multiline  Options: multiline
708  No first char  No first char
709  Need char = 'r'  Need char = 'r'
# Line 719  No match Line 720  No match
720    
721  /^(?<=foo\n)bar/Im  /^(?<=foo\n)bar/Im
722  Capturing subpattern count = 0  Capturing subpattern count = 0
723    Contains explicit CR or LF match
724  Options: multiline  Options: multiline
725  First char at start or follows newline  First char at start or follows newline
726  Need char = 'r'  Need char = 'r'
# Line 1105  No need char Line 1107  No need char
1107  )?)?)?)?)?)?)?)?)?otherword/I  )?)?)?)?)?)?)?)?)?otherword/I
1108  Capturing subpattern count = 8  Capturing subpattern count = 8
1109  Partial matching not supported  Partial matching not supported
1110    Contains explicit CR or LF match
1111  No options  No options
1112  First char = 'w'  First char = 'w'
1113  Need char = 'd'  Need char = 'd'
# Line 1347  No need char Line 1350  No need char
1350    
1351  /^ab\n/Ig+  /^ab\n/Ig+
1352  Capturing subpattern count = 0  Capturing subpattern count = 0
1353    Contains explicit CR or LF match
1354  Options: anchored  Options: anchored
1355  No first char  No first char
1356  No need char  No need char
# Line 1356  No need char Line 1360  No need char
1360    
1361  /^ab\n/Img+  /^ab\n/Img+
1362  Capturing subpattern count = 0  Capturing subpattern count = 0
1363    Contains explicit CR or LF match
1364  Options: multiline  Options: multiline
1365  First char at start or follows newline  First char at start or follows newline
1366  Need char = 10  Need char = 10
# Line 1997  No need char Line 2002  No need char
2002    
2003  /[\n\x0b\x0c\x0d[:blank:]]/IS  /[\n\x0b\x0c\x0d[:blank:]]/IS
2004  Capturing subpattern count = 0  Capturing subpattern count = 0
2005    Contains explicit CR or LF match
2006  No options  No options
2007  No first char  No first char
2008  No need char  No need char
# Line 5631  No need char Line 5637  No need char
5637    
5638  /line\nbreak/I  /line\nbreak/I
5639  Capturing subpattern count = 0  Capturing subpattern count = 0
5640    Contains explicit CR or LF match
5641  No options  No options
5642  First char = 'l'  First char = 'l'
5643  Need char = 'k'  Need char = 'k'
# Line 5641  Need char = 'k' Line 5648  Need char = 'k'
5648    
5649  /line\nbreak/If  /line\nbreak/If
5650  Capturing subpattern count = 0  Capturing subpattern count = 0
5651    Contains explicit CR or LF match
5652  Options: firstline  Options: firstline
5653  First char = 'l'  First char = 'l'
5654  Need char = 'k'  Need char = 'k'
# Line 5653  No match Line 5661  No match
5661    
5662  /line\nbreak/Imf  /line\nbreak/Imf
5663  Capturing subpattern count = 0  Capturing subpattern count = 0
5664    Contains explicit CR or LF match
5665  Options: multiline firstline  Options: multiline firstline
5666  First char = 'l'  First char = 'l'
5667  Need char = 'k'  Need char = 'k'
# Line 6160  Named capturing subpatterns: Line 6169  Named capturing subpatterns:
6169    A   2    A   2
6170    A   3    A   3
6171  Options: anchored dupnames  Options: anchored dupnames
6172    Duplicate name status changes
6173  No first char  No first char
6174  No need char  No need char
6175      a1b\CA      a1b\CA
# Line 7868  No match Line 7878  No match
7878  /a/<any><crlf>  /a/<any><crlf>
7879  Failed: inconsistent NEWLINE options at offset 0  Failed: inconsistent NEWLINE options at offset 0
7880    
7881  /^a\Rb/  /^a\Rb/<bsr_unicode>
7882      a\nb      a\nb
7883   0: a\x0ab   0: a\x0ab
7884      a\rb      a\rb
# Line 7886  No match Line 7896  No match
7896      a\n\rb      a\n\rb
7897  No match  No match
7898    
7899  /^a\R*b/  /^a\R*b/<bsr_unicode>
7900      ab      ab
7901   0: ab   0: ab
7902      a\nb      a\nb
# Line 7906  No match Line 7916  No match
7916      a\n\r\x85\x0cb      a\n\r\x85\x0cb
7917   0: a\x0a\x0d\x85\x0cb   0: a\x0a\x0d\x85\x0cb
7918    
7919  /^a\R+b/  /^a\R+b/<bsr_unicode>
7920      a\nb      a\nb
7921   0: a\x0ab   0: a\x0ab
7922      a\rb      a\rb
# Line 7928  No match Line 7938  No match
7938      ab      ab
7939  No match  No match
7940    
7941  /^a\R{1,3}b/  /^a\R{1,3}b/<bsr_unicode>
7942      a\nb      a\nb
7943   0: a\x0ab   0: a\x0ab
7944      a\n\rb      a\n\rb
# Line 7950  No match Line 7960  No match
7960      a\r      a\r
7961  No match  No match
7962    
7963  /^a[\R]b/  /^a[\R]b/<bsr_unicode>
7964      aRb      aRb
7965   0: aRb   0: aRb
7966      ** Failers      ** Failers
# Line 8064  No match Line 8074  No match
8074   2: b   2: b
8075    
8076  /^(a)\g-2/  /^(a)\g-2/
8077  Failed: reference to non-existent subpattern at offset 4  Failed: reference to non-existent subpattern at offset 7
8078    
8079  /^(a)\g/  /^(a)\g/
8080  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 4  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 5
8081    
8082  /^(a)\g{0}/  /^(a)\g{0}/
8083  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 4  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 7
8084    
8085  /^(a)\g{3/  /^(a)\g{3/
8086  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 4  Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 8
8087    
8088  /^(a)\g{4a}/  /^(a)\g{4a}/
8089  Failed: reference to non-existent subpattern at offset 9  Failed: reference to non-existent subpattern at offset 9
# Line 9035  Failed: (*VERB) with an argument is not Line 9045  Failed: (*VERB) with an argument is not
9045  /a(*MARK)b/  /a(*MARK)b/
9046  Failed: (*VERB) not recognized at offset 7  Failed: (*VERB) not recognized at offset 7
9047    
9048    /(?i:A{1,}\6666666666)/
9049    Failed: number is too big at offset 19
9050    
9051    /\g6666666666/
9052    Failed: number is too big at offset 11
9053    
9054    /[\g6666666666]/
9055    Failed: number is too big at offset 12
9056    
9057    /(?1)\c[/
9058    Failed: reference to non-existent subpattern at offset 3
9059    
9060    /.+A/<crlf>
9061        \r\nA
9062    No match
9063    
9064    /\nA/<crlf>
9065        \r\nA
9066     0: \x0aA
9067    
9068    /[\r\n]A/<crlf>
9069        \r\nA
9070     0: \x0aA
9071    
9072    /(\r|\n)A/<crlf>
9073        \r\nA
9074     0: \x0aA
9075     1: \x0a
9076    
9077    /a(*CR)b/
9078    Failed: (*VERB) not recognized at offset 5
9079    
9080    /(*CR)a.b/
9081        a\nb
9082     0: a\x0ab
9083        ** Failers
9084    No match
9085        a\rb
9086    No match
9087    
9088    /(*CR)a.b/<lf>
9089        a\nb
9090     0: a\x0ab
9091        ** Failers
9092    No match
9093        a\rb
9094    No match
9095    
9096    /(*LF)a.b/<CRLF>
9097        a\rb
9098     0: a\x0db
9099        ** Failers
9100    No match
9101        a\nb
9102    No match
9103    
9104    /(*CRLF)a.b/
9105        a\rb
9106     0: a\x0db
9107        a\nb
9108     0: a\x0ab
9109        ** Failers
9110    No match
9111        a\r\nb
9112    No match
9113    
9114    /(*ANYCRLF)a.b/<CR>
9115        ** Failers
9116    No match
9117        a\rb
9118    No match
9119        a\nb
9120    No match
9121        a\r\nb
9122    No match
9123    
9124    /(*ANY)a.b/<cr>
9125        ** Failers
9126    No match
9127        a\rb
9128    No match
9129        a\nb
9130    No match
9131        a\r\nb
9132    No match
9133        a\x85b
9134    No match
9135    
9136    /a\Rb/I<bsr_anycrlf>
9137    Capturing subpattern count = 0
9138    Options: bsr_anycrlf
9139    First char = 'a'
9140    Need char = 'b'
9141        a\rb
9142     0: a\x0db
9143        a\nb
9144     0: a\x0ab
9145        a\r\nb
9146     0: a\x0d\x0ab
9147        ** Failers
9148    No match
9149        a\x85b
9150    No match
9151        a\x0bb
9152    No match
9153    
9154    /a\Rb/I<bsr_unicode>
9155    Capturing subpattern count = 0
9156    Options: bsr_unicode
9157    First char = 'a'
9158    Need char = 'b'
9159        a\rb
9160     0: a\x0db
9161        a\nb
9162     0: a\x0ab
9163        a\r\nb
9164     0: a\x0d\x0ab
9165        a\x85b
9166     0: a\x85b
9167        a\x0bb
9168     0: a\x0bb
9169        ** Failers
9170    No match
9171        a\x85b\<bsr_anycrlf>
9172    No match
9173        a\x0bb\<bsr_anycrlf>
9174    No match
9175    
9176    /a\R?b/I<bsr_anycrlf>
9177    Capturing subpattern count = 0
9178    Options: bsr_anycrlf
9179    First char = 'a'
9180    Need char = 'b'
9181        a\rb
9182     0: a\x0db
9183        a\nb
9184     0: a\x0ab
9185        a\r\nb
9186     0: a\x0d\x0ab
9187        ** Failers
9188    No match
9189        a\x85b
9190    No match
9191        a\x0bb
9192    No match
9193    
9194    /a\R?b/I<bsr_unicode>
9195    Capturing subpattern count = 0
9196    Options: bsr_unicode
9197    First char = 'a'
9198    Need char = 'b'
9199        a\rb
9200     0: a\x0db
9201        a\nb
9202     0: a\x0ab
9203        a\r\nb
9204     0: a\x0d\x0ab
9205        a\x85b
9206     0: a\x85b
9207        a\x0bb
9208     0: a\x0bb
9209        ** Failers
9210    No match
9211        a\x85b\<bsr_anycrlf>
9212    No match
9213        a\x0bb\<bsr_anycrlf>
9214    No match
9215    
9216    /a\R{2,4}b/I<bsr_anycrlf>
9217    Capturing subpattern count = 0
9218    Partial matching not supported
9219    Options: bsr_anycrlf
9220    First char = 'a'
9221    Need char = 'b'
9222        a\r\n\nb
9223     0: a\x0d\x0a\x0ab
9224        a\n\r\rb
9225     0: a\x0a\x0d\x0db
9226        a\r\n\r\n\r\n\r\nb
9227     0: a\x0d\x0a\x0d\x0a\x0d\x0a\x0d\x0ab
9228        ** Failers
9229    No match
9230        a\x85\85b
9231    No match
9232        a\x0b\0bb
9233    No match
9234    
9235    /a\R{2,4}b/I<bsr_unicode>
9236    Capturing subpattern count = 0
9237    Partial matching not supported
9238    Options: bsr_unicode
9239    First char = 'a'
9240    Need char = 'b'
9241        a\r\rb
9242     0: a\x0d\x0db
9243        a\n\n\nb
9244     0: a\x0a\x0a\x0ab
9245        a\r\n\n\r\rb
9246     0: a\x0d\x0a\x0a\x0d\x0db
9247        a\x85\85b
9248    No match
9249        a\x0b\0bb
9250    No match
9251        ** Failers
9252    No match
9253        a\r\r\r\r\rb
9254    No match
9255        a\x85\85b\<bsr_anycrlf>
9256    No match
9257        a\x0b\0bb\<bsr_anycrlf>
9258    No match
9259    
9260    /(*BSR_ANYCRLF)a\Rb/I
9261    Capturing subpattern count = 0
9262    Options: bsr_anycrlf
9263    First char = 'a'
9264    Need char = 'b'
9265        a\nb
9266     0: a\x0ab
9267        a\rb
9268     0: a\x0db
9269    
9270    /(*BSR_UNICODE)a\Rb/I
9271    Capturing subpattern count = 0
9272    Options: bsr_unicode
9273    First char = 'a'
9274    Need char = 'b'
9275        a\x85b
9276     0: a\x85b
9277    
9278    /(*BSR_ANYCRLF)(*CRLF)a\Rb/I
9279    Capturing subpattern count = 0
9280    Options: bsr_anycrlf
9281    Forced newline sequence: CRLF
9282    First char = 'a'
9283    Need char = 'b'
9284        a\nb
9285     0: a\x0ab
9286        a\rb
9287     0: a\x0db
9288    
9289    /(*CRLF)(*BSR_UNICODE)a\Rb/I
9290    Capturing subpattern count = 0
9291    Options: bsr_unicode
9292    Forced newline sequence: CRLF
9293    First char = 'a'
9294    Need char = 'b'
9295        a\x85b
9296     0: a\x85b
9297    
9298    /(*CRLF)(*BSR_ANYCRLF)(*CR)ab/I
9299    Capturing subpattern count = 0
9300    Options: bsr_anycrlf
9301    Forced newline sequence: CR
9302    First char = 'a'
9303    Need char = 'b'
9304    
9305  / End of testinput2 /  / End of testinput2 /

Legend:
Removed from v.210  
changed lines
  Added in v.247

  ViewVC Help
Powered by ViewVC 1.1.5