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

Diff of /code/trunk/testdata/testinput2

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

revision 166 by ph10, Wed May 9 14:48:28 2007 UTC revision 171 by ph10, Mon Jun 4 14:28:58 2007 UTC
# Line 2172  a random value. /Ix Line 2172  a random value. /Ix
2172    
2173  /x(?+1)y/  /x(?+1)y/
2174    
2175    /^(abc)?(?(-1)X|Y)/B
2176        abcX
2177        Y
2178        ** Failers
2179        abcY
2180    
2181    /^((?(+1)X|Y)(abc))+/B
2182        YabcXabc
2183        YabcXabcXabc
2184        ** Failers
2185        XabcXabc
2186    
2187    /(?(-1)a)/B
2188    
2189    /((?(-1)a))/B
2190    
2191    /((?(-2)a))/B
2192    
2193    /^(?(+1)X|Y)/B
2194        Y
2195    
2196    /(foo)\Kbar/
2197        foobar
2198    
2199    /(foo)(\Kbar|baz)/
2200        foobar
2201        foobaz
2202    
2203    /(foo\Kbar)baz/
2204        foobarbaz
2205    
2206    /(?<A>tom|bon)-\k{A}/
2207        tom-tom
2208        bon-bon
2209        ** Failers
2210        tom-bon
2211    
2212    /(?<A>tom|bon)-\g{A}/
2213        tom-tom
2214        bon-bon
2215    
2216    /\g{A/
2217    
2218  / End of testinput2 /  / End of testinput2 /

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

  ViewVC Help
Powered by ViewVC 1.1.5