/[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 426 by ph10, Wed Aug 26 15:38:32 2009 UTC revision 435 by ph10, Sat Sep 5 10:20:44 2009 UTC
# Line 331  No need char Line 331  No need char
331   2: <unset>   2: <unset>
332   3: def   3: def
333    
334  /abc/IP  /abc/P
335      abc      abc
336   0: abc   0: abc
337      *** Failers      *** Failers
338  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
339    
340  /^abc|def/IP  /^abc|def/P
341      abcdef      abcdef
342   0: abc   0: abc
343      abcdef\B      abcdef\B
344   0: def   0: def
345    
346  /.*((abc)$|(def))/IP  /.*((abc)$|(def))/P
347      defabc      defabc
348   0: defabc   0: defabc
349   1: abc   1: abc
# Line 353  No match: POSIX code 17: match failed Line 353  No match: POSIX code 17: match failed
353   1: def   1: def
354   3: def   3: def
355    
356  /the quick brown fox/IP  /the quick brown fox/P
357      the quick brown fox      the quick brown fox
358   0: the quick brown fox   0: the quick brown fox
359      *** Failers      *** Failers
# Line 361  No match: POSIX code 17: match failed Line 361  No match: POSIX code 17: match failed
361      The Quick Brown Fox      The Quick Brown Fox
362  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
363    
364  /the quick brown fox/IPi  /the quick brown fox/Pi
365      the quick brown fox      the quick brown fox
366   0: the quick brown fox   0: the quick brown fox
367      The Quick Brown Fox      The Quick Brown Fox
368   0: The Quick Brown Fox   0: The Quick Brown Fox
369    
370  /abc.def/IP  /abc.def/P
371      *** Failers      *** Failers
372  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
373      abc\ndef      abc\ndef
374  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
375    
376  /abc$/IP  /abc$/P
377      abc      abc
378   0: abc   0: abc
379      abc\n      abc\n
380   0: abc   0: abc
381    
382  /(abc)\2/IP  /(abc)\2/P
383  Failed: POSIX code 15: bad back reference at offset 7  Failed: POSIX code 15: bad back reference at offset 7
384    
385  /(abc\1)/IP  /(abc\1)/P
386      abc      abc
387  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
388    
# Line 1615  No need char Line 1615  No need char
1615      \Nabc      \Nabc
1616  No match  No match
1617    
1618  /a*(b+)(z)(z)/IP  /a*(b+)(z)(z)/P
1619      aaaabbbbzzzz      aaaabbbbzzzz
1620   0: aaaabbbbzz   0: aaaabbbbzz
1621   1: bbbb   1: bbbb
# Line 5548  No match Line 5548  No match
5548      line one\nthis is a line\nbreak in the second line      line one\nthis is a line\nbreak in the second line
5549  No match  No match
5550    
5551  /ab.cd/IP  /ab.cd/P
5552      ab-cd      ab-cd
5553   0: ab-cd   0: ab-cd
5554      ab=cd      ab=cd
# Line 5558  No match: POSIX code 17: match failed Line 5558  No match: POSIX code 17: match failed
5558      ab\ncd      ab\ncd
5559  No match: POSIX code 17: match failed  No match: POSIX code 17: match failed
5560    
5561  /ab.cd/IPs  /ab.cd/Ps
5562      ab-cd      ab-cd
5563   0: ab-cd   0: ab-cd
5564      ab=cd      ab=cd
# Line 5858  No need char Line 5858  No need char
5858      ((this))      ((this))
5859   0: ((this))   0: ((this))
5860    
5861  /a(b)c/IPN  /a(b)c/PN
5862      abc      abc
5863  Matched with REG_NOSUB  Matched with REG_NOSUB
5864    
5865  /a(?P<name>b)c/IPN  /a(?P<name>b)c/PN
5866      abc      abc
5867  Matched with REG_NOSUB  Matched with REG_NOSUB
5868    
# Line 9918  Partial match: 123999 Line 9918  Partial match: 123999
9918    
9919  /Z(*F)/  /Z(*F)/
9920      Z\P      Z\P
9921  Partial match: Z  No match
9922      ZA\P      ZA\P
9923  No match  No match
9924    
9925  /Z(?!)/  /Z(?!)/
9926      Z\P      Z\P
9927  Partial match: Z  No match
9928      ZA\P      ZA\P
9929  No match  No match
9930    
9931    /dog(sbody)?/
9932        dogs\P
9933     0: dog
9934        dogs\P\P
9935    Partial match: dogs
9936    
9937    /dog(sbody)??/
9938        dogs\P
9939     0: dog
9940        dogs\P\P
9941     0: dog
9942    
9943    /dog|dogsbody/
9944        dogs\P
9945     0: dog
9946        dogs\P\P
9947     0: dog
9948    
9949    /dogsbody|dog/
9950        dogs\P
9951     0: dog
9952        dogs\P\P
9953    Partial match: dogs
9954    
9955    /\bthe cat\b/
9956        the cat\P
9957     0: the cat
9958        the cat\P\P
9959    Partial match: the cat
9960    
9961    /abc/
9962       abc\P
9963     0: abc
9964       abc\P\P
9965     0: abc
9966    
9967    /\w+A/P
9968       CDAAAAB
9969     0: CDAAAA
9970    
9971    /\w+A/PU
9972       CDAAAAB
9973     0: CDA
9974    
9975    /abc\K123/
9976        xyzabc123pqr
9977     0: 123
9978        xyzabc12\P
9979    Partial match: abc12
9980        xyzabc12\P\P
9981    Partial match: abc12
9982    
9983    /(?<=abc)123/
9984        xyzabc123pqr
9985     0: 123
9986        xyzabc12\P
9987    Partial match: abc12
9988        xyzabc12\P\P
9989    Partial match: abc12
9990    
9991    /\babc\b/
9992        +++abc+++
9993     0: abc
9994        +++ab\P
9995    Partial match: +ab
9996        +++ab\P\P
9997    Partial match: +ab
9998    
9999  / End of testinput2 /  / End of testinput2 /

Legend:
Removed from v.426  
changed lines
  Added in v.435

  ViewVC Help
Powered by ViewVC 1.1.5