/[pcre]/code/trunk/testdata/testinput1
ViewVC logotype

Diff of /code/trunk/testdata/testinput1

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

revision 93 by nigel, Sat Feb 24 21:41:42 2007 UTC revision 450 by ph10, Wed Sep 16 10:56:40 2009 UTC
# Line 1  Line 1 
1    /-- This set of tests is for features that are compatible with all versions of
2        Perl 5, in non-UTF-8 mode. --/
3    
4  /the quick brown fox/  /the quick brown fox/
5      the quick brown fox      the quick brown fox
6      The quick brown FOX      The quick brown FOX
# Line 1494  Line 1497 
1497  /(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)\12\123/  /(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)\12\123/
1498      abcdefghijk\12S      abcdefghijk\12S
1499    
1500  /ab\hdef/  /ab\idef/
1501      abhdef      abidef
1502    
1503  /a{0}bc/  /a{0}bc/
1504      bc      bc
# Line 3421  Line 3424 
3424  /((?m)^b)/  /((?m)^b)/
3425      a\nb\nc\n      a\nb\nc\n
3426    
 /(?(1)a|b)/  
   
 /(?(1)b|a)/  
     a  
   
3427  /(x)?(?(1)a|b)/  /(x)?(?(1)a|b)/
3428      *** Failers      *** Failers
3429      a      a
# Line 4018  Line 4016 
4016    abc    abc
4017    abc\n    abc\n
4018    
4019  / End of testinput1 /  /(.*(.)?)*/
4020        abcd
4021    
4022    /( (A | (?(1)0|) )*   )/x
4023        abcd
4024    
4025    /( ( (?(1)0|) )*   )/x
4026        abcd
4027    
4028    /(  (?(1)0|)*   )/x
4029        abcd
4030    
4031    /[[:abcd:xyz]]/
4032        a]
4033        :]
4034    
4035    /[abc[:x\]pqr]/
4036        a
4037        [
4038        :
4039        ]
4040        p
4041    
4042    /.*[op][xyz]/
4043        fooabcfoo
4044    
4045    /(?(?=.*b)b|^)/
4046       adc
4047       abc
4048    
4049    /(?(?=^.*b)b|^)/
4050       adc
4051       abc
4052    
4053    /(?(?=.*b)b|^)*/
4054       adc
4055       abc
4056    
4057    /(?(?=.*b)b|^)+/
4058       adc
4059       abc
4060    
4061    /(?(?=b).*b|^d)/
4062        abc
4063    
4064    /(?(?=.*b).*b|^d)/
4065        abc
4066    
4067    /^%((?(?=[a])[^%])|b)*%$/
4068        %ab%
4069    
4070    /-- End of testinput1 --/

Legend:
Removed from v.93  
changed lines
  Added in v.450

  ViewVC Help
Powered by ViewVC 1.1.5