/[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 428 by ph10, Mon Aug 31 17:10:26 2009 UTC revision 432 by ph10, Wed Sep 2 16:02:56 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 9963  Partial match: the cat Line 9963  Partial match: the cat
9963   0: abc   0: abc
9964     abc\P\P     abc\P\P
9965   0: abc   0: abc
9966    
9967    /\w+A/P
9968       CDAAAAB
9969     0: CDAAAA
9970    
9971    /\w+A/PU
9972       CDAAAAB
9973     0: CDA
9974    
9975  / End of testinput2 /  / End of testinput2 /

Legend:
Removed from v.428  
changed lines
  Added in v.432

  ViewVC Help
Powered by ViewVC 1.1.5