/[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 166 by ph10, Wed May 9 14:48:28 2007 UTC revision 168 by ph10, Tue May 29 15:18:18 2007 UTC
# Line 8209  No match Line 8209  No match
8209  No match  No match
8210    
8211  /x(?-0)y/  /x(?-0)y/
8212  Failed: (?+ or (?- must be followed by a non-zero number at offset 5  Failed: (?+ or (?- or (?(+ or (?(- must be followed by a non-zero number at offset 5
8213    
8214  /x(?-1)y/  /x(?-1)y/
8215  Failed: reference to non-existent subpattern at offset 5  Failed: reference to non-existent subpattern at offset 5
8216    
8217  /x(?+0)y/  /x(?+0)y/
8218  Failed: (?+ or (?- must be followed by a non-zero number at offset 5  Failed: (?+ or (?- or (?(+ or (?(- must be followed by a non-zero number at offset 5
8219    
8220  /x(?+1)y/  /x(?+1)y/
8221  Failed: reference to non-existent subpattern at offset 5  Failed: reference to non-existent subpattern at offset 5
8222    
8223    /^(abc)?(?(-1)X|Y)/B
8224    ------------------------------------------------------------------
8225      0  35 Bra 0
8226      3     ^
8227      4     Brazero
8228      5  11 Bra 1
8229     10     abc
8230     16  11 Ket
8231     19   8 Cond
8232     22   1 Cond ref
8233     25     X
8234     27   5 Alt
8235     30     Y
8236     32  13 Ket
8237     35  35 Ket
8238     38     End
8239    ------------------------------------------------------------------
8240        abcX
8241     0: abcX
8242     1: abc
8243        Y
8244     0: Y
8245        ** Failers
8246    No match
8247        abcY
8248    No match
8249    
8250    /^((?(+1)X|Y)(abc))+/B
8251    ------------------------------------------------------------------
8252      0  42 Bra 0
8253      3     ^
8254      4  35 Bra 1
8255      9   8 Cond
8256     12   2 Cond ref
8257     15     X
8258     17   5 Alt
8259     20     Y
8260     22  13 Ket
8261     25  11 Bra 2
8262     30     abc
8263     36  11 Ket
8264     39  35 KetRmax
8265     42  42 Ket
8266     45     End
8267    ------------------------------------------------------------------
8268        YabcXabc
8269     0: YabcXabc
8270     1: Xabc
8271     2: abc
8272        YabcXabcXabc
8273     0: YabcXabcXabc
8274     1: Xabc
8275     2: abc
8276        ** Failers
8277    No match
8278        XabcXabc
8279    No match
8280    
8281    /(?(-1)a)/B
8282    Failed: reference to non-existent subpattern at offset 6
8283    
8284    /((?(-1)a))/B
8285    ------------------------------------------------------------------
8286      0  22 Bra 0
8287      3  16 Bra 1
8288      8   8 Cond
8289     11   1 Cond ref
8290     14     a
8291     16   8 Ket
8292     19  16 Ket
8293     22  22 Ket
8294     25     End
8295    ------------------------------------------------------------------
8296    
8297    /((?(-2)a))/B
8298    Failed: reference to non-existent subpattern at offset 7
8299    
8300    /^(?(+1)X|Y)/B
8301    ------------------------------------------------------------------
8302      0  20 Bra 0
8303      3     ^
8304      4   8 Cond
8305      7   1 Cond ref
8306     10     X
8307     12   5 Alt
8308     15     Y
8309     17  13 Ket
8310     20  20 Ket
8311     23     End
8312    ------------------------------------------------------------------
8313        Y
8314     0: Y
8315    
8316    /(foo)\Kbar/
8317        foobar
8318     0: bar
8319     1: foo
8320    
8321    /(foo)(\Kbar|baz)/
8322        foobar
8323     0: bar
8324     1: foo
8325     2: bar
8326        foobaz
8327     0: foobaz
8328     1: foo
8329     2: baz
8330    
8331    /(foo\Kbar)baz/
8332        foobarbaz
8333     0: barbaz
8334     1: foobar
8335    
8336  / End of testinput2 /  / End of testinput2 /

Legend:
Removed from v.166  
changed lines
  Added in v.168

  ViewVC Help
Powered by ViewVC 1.1.5