/[pcre]/code/branches/pcre16/testdata/testinput2
ViewVC logotype

Diff of /code/branches/pcre16/testdata/testinput2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 813 by ph10, Mon Dec 19 13:34:10 2011 UTC revision 814 by ph10, Wed Dec 21 12:05:24 2011 UTC
# Line 6  Line 6 
6      bug.      bug.
7    
8      NOTE: This is a non-UTF set of tests. When UTF support is needed, use      NOTE: This is a non-UTF set of tests. When UTF support is needed, use
9      test 5, and if Unicode Property Support is needed, use test 13. --/      test 5, and if Unicode Property Support is needed, use test 7. --/
10    
 /-- Originally, the Perl >= 5.10 things were in here too, but now I have  
     separated many (most?) of them out into test 11. However, there may still  
     be some that were overlooked. --/  
   
11  /(a)b|/I  /(a)b|/I
12    
13  /abc/I  /abc/I
# Line 147  Line 143 
143      defabc      defabc
144      \Zdefabc      \Zdefabc
145    
 /abc/P  
     abc  
     *** Failers  
   
 /^abc|def/P  
     abcdef  
     abcdef\B  
   
 /.*((abc)$|(def))/P  
     defabc  
     \Zdefabc  
   
 /the quick brown fox/P  
     the quick brown fox  
     *** Failers  
     The Quick Brown Fox  
   
 /the quick brown fox/Pi  
     the quick brown fox  
     The Quick Brown Fox  
   
 /abc.def/P  
     *** Failers  
     abc\ndef  
   
 /abc$/P  
     abc  
     abc\n  
   
 /(abc)\2/P  
   
 /(abc\1)/P  
     abc  
   
146  /)/  /)/
147    
148  /a[]b/  /a[]b/
# Line 632  Line 594 
594      *** Failers      *** Failers
595      \Nabc      \Nabc
596    
 /a*(b+)(z)(z)/P  
     aaaabbbbzzzz  
     aaaabbbbzzzz\O0  
     aaaabbbbzzzz\O1  
     aaaabbbbzzzz\O2  
     aaaabbbbzzzz\O3  
     aaaabbbbzzzz\O4  
     aaaabbbbzzzz\O5  
   
597  /^.?abcd/IS  /^.?abcd/IS
598    
599  /\(             # ( at start  /\(             # ( at start
# Line 1494  Line 1447 
1447      ** Failers      ** Failers
1448      line one\nthis is a line\nbreak in the second line      line one\nthis is a line\nbreak in the second line
1449    
 /ab.cd/P  
     ab-cd  
     ab=cd  
     ** Failers  
     ab\ncd  
   
 /ab.cd/Ps  
     ab-cd  
     ab=cd  
     ab\ncd  
   
1450  /(?i)(?-i)AbCd/I  /(?i)(?-i)AbCd/I
1451      AbCd      AbCd
1452      ** Failers      ** Failers
# Line 1555  Line 1497 
1497      (this)      (this)
1498      ((this))      ((this))
1499    
 /a(b)c/PN  
     abc  
   
 /a(?P<name>b)c/PN  
     abc  
   
1500  /\x{100}/I  /\x{100}/I
1501    
1502  /\x{0000ff}/I  /\x{0000ff}/I
# Line 2619  a random value. /Ix Line 2555  a random value. /Ix
2555    
2556  /(?(?=.*b).*b|^d)/I  /(?(?=.*b).*b|^d)/I
2557    
 /a?|b?/P  
     abc  
     ** Failers  
     ddd\N  
   
2558  /xyz/C  /xyz/C
2559    xyz    xyz
2560    abcxyz    abcxyz
# Line 2815  a random value. /Ix Line 2746  a random value. /Ix
2746     abc\P     abc\P
2747     abc\P\P     abc\P\P
2748    
 /\w+A/P  
    CDAAAAB  
   
 /\w+A/PU  
    CDAAAAB  
   
2749  /abc\K123/  /abc\K123/
2750      xyzabc123pqr      xyzabc123pqr
2751      xyzabc12\P      xyzabc12\P

Legend:
Removed from v.813  
changed lines
  Added in v.814

  ViewVC Help
Powered by ViewVC 1.1.5