/[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 169 by ph10, Mon Jun 4 10:49:21 2007 UTC revision 171 by ph10, Mon Jun 4 14:28:58 2007 UTC
# Line 8067  No match Line 8067  No match
8067  Failed: reference to non-existent subpattern at offset 4  Failed: reference to non-existent subpattern at offset 4
8068    
8069  /^(a)\g/  /^(a)\g/
8070  Failed: \g is not followed by 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 4
8071    
8072  /^(a)\g{0}/  /^(a)\g{0}/
8073  Failed: \g is not followed by 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 4
8074    
8075  /^(a)\g{3/  /^(a)\g{3/
8076  Failed: \g is not followed by 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 4
8077    
8078  /^(a)\g{4a}/  /^(a)\g{4a}/
8079  Failed: \g is not followed by an (optionally braced) non-zero number at offset 4  Failed: reference to non-existent subpattern at offset 9
8080    
8081  /^a.b/<lf>  /^a.b/<lf>
8082      a\rb      a\rb
# Line 8334  Failed: reference to non-existent subpat Line 8334  Failed: reference to non-existent subpat
8334   0: barbaz   0: barbaz
8335   1: foobar   1: foobar
8336    
8337    /(?<A>tom|bon)-\k{A}/
8338        tom-tom
8339     0: tom-tom
8340     1: tom
8341        bon-bon
8342     0: bon-bon
8343     1: bon
8344        ** Failers
8345    No match
8346        tom-bon
8347    No match
8348    
8349    /(?<A>tom|bon)-\g{A}/
8350        tom-tom
8351     0: tom-tom
8352     1: tom
8353        bon-bon
8354     0: bon-bon
8355     1: bon
8356    
8357    /\g{A/
8358    Failed: syntax error in subpattern name (missing terminator) at offset 4
8359    
8360  / End of testinput2 /  / End of testinput2 /

Legend:
Removed from v.169  
changed lines
  Added in v.171

  ViewVC Help
Powered by ViewVC 1.1.5