/[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 180 by ph10, Wed Jun 13 10:59:18 2007 UTC revision 268 by ph10, Thu Nov 15 10:28:09 2007 UTC
# Line 1999  a random value. /Ix Line 1999  a random value. /Ix
1999    
2000  /a/<any><crlf>  /a/<any><crlf>
2001    
2002  /^a\Rb/  /^a\Rb/<bsr_unicode>
2003      a\nb      a\nb
2004      a\rb      a\rb
2005      a\r\nb      a\r\nb
# Line 2009  a random value. /Ix Line 2009  a random value. /Ix
2009      ** Failers      ** Failers
2010      a\n\rb      a\n\rb
2011    
2012  /^a\R*b/  /^a\R*b/<bsr_unicode>
2013      ab      ab
2014      a\nb      a\nb
2015      a\rb      a\rb
# Line 2020  a random value. /Ix Line 2020  a random value. /Ix
2020      a\n\rb      a\n\rb
2021      a\n\r\x85\x0cb      a\n\r\x85\x0cb
2022    
2023  /^a\R+b/  /^a\R+b/<bsr_unicode>
2024      a\nb      a\nb
2025      a\rb      a\rb
2026      a\r\nb      a\r\nb
# Line 2032  a random value. /Ix Line 2032  a random value. /Ix
2032      ** Failers      ** Failers
2033      ab      ab
2034    
2035  /^a\R{1,3}b/  /^a\R{1,3}b/<bsr_unicode>
2036      a\nb      a\nb
2037      a\n\rb      a\n\rb
2038      a\n\r\x85b      a\n\r\x85b
# Line 2044  a random value. /Ix Line 2044  a random value. /Ix
2044      a\n\n\n\rb      a\n\n\n\rb
2045      a\r      a\r
2046    
2047  /^a[\R]b/  /^a[\R]b/<bsr_unicode>
2048      aRb      aRb
2049      ** Failers      ** Failers
2050      a\nb      a\nb
# Line 2326  a random value. /Ix Line 2326  a random value. /Ix
2326    
2327  /\V+\v\V+\w/BZ  /\V+\v\V+\w/BZ
2328    
2329    /\( (?: [^()]* | (?R) )* \)/x
2330    (0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0(0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MIT)E(*F)F(*FAIL)G(?!)H(*ACCEPT)I/BZ
2345    
2346    /^a+(*FAIL)/
2347        aaaaaa
2348    
2349    /a+b?c+(*FAIL)/
2350        aaabccc
2351    
2352    /a+b?(*PRUNE)c+(*FAIL)/
2353        aaabccc
2354    
2355    /a+b?(*COMMIT)c+(*FAIL)/
2356        aaabccc
2357    
2358    /a+b?(*SKIP)c+(*FAIL)/
2359        aaabcccaaabccc
2360    
2361    /^(?:aaa(*THEN)\w{6}|bbb(*THEN)\w{5}|ccc(*THEN)\w{4}|\w{3})/
2362        aaaxxxxxx
2363        aaa++++++
2364        bbbxxxxx
2365        bbb+++++
2366        cccxxxx
2367        ccc++++
2368        dddddddd
2369    
2370    /^(aaa(*THEN)\w{6}|bbb(*THEN)\w{5}|ccc(*THEN)\w{4}|\w{3})/
2371        aaaxxxxxx
2372        aaa++++++
2373        bbbxxxxx
2374        bbb+++++
2375        cccxxxx
2376        ccc++++
2377        dddddddd
2378    
2379    /a+b?(*THEN)c+(*FAIL)/
2380        aaabccc
2381    
2382    /(A (A|B(*ACCEPT)|C) D)(E)/x
2383        ABX
2384        AADE
2385        ACDE
2386        ** Failers
2387        AD
2388    
2389    /^a+(*FAIL)/C
2390        aaaaaa
2391    
2392    /a+b?c+(*FAIL)/C
2393        aaabccc
2394    
2395    /a+b?(*PRUNE)c+(*FAIL)/C
2396        aaabccc
2397    
2398    /a+b?(*COMMIT)c+(*FAIL)/C
2399        aaabccc
2400    
2401    /a+b?(*SKIP)c+(*FAIL)/C
2402        aaabcccaaabccc
2403    
2404    /a+b?(*THEN)c+(*FAIL)/C
2405        aaabccc
2406    
2407    /a(*PRUNE:XXX)b/
2408    
2409    /a(*MARK)b/
2410    
2411    /(?i:A{1,}\6666666666)/
2412    
2413    /\g6666666666/
2414    
2415    /[\g6666666666]/
2416    
2417    /(?1)\c[/
2418    
2419    /.+A/<crlf>
2420        \r\nA
2421    
2422    /\nA/<crlf>
2423        \r\nA
2424    
2425    /[\r\n]A/<crlf>
2426        \r\nA
2427    
2428    /(\r|\n)A/<crlf>
2429        \r\nA
2430    
2431    /a(*CR)b/
2432    
2433    /(*CR)a.b/
2434        a\nb
2435        ** Failers
2436        a\rb
2437    
2438    /(*CR)a.b/<lf>
2439        a\nb
2440        ** Failers
2441        a\rb
2442    
2443    /(*LF)a.b/<CRLF>
2444        a\rb
2445        ** Failers
2446        a\nb
2447    
2448    /(*CRLF)a.b/
2449        a\rb
2450        a\nb
2451        ** Failers
2452        a\r\nb
2453    
2454    /(*ANYCRLF)a.b/<CR>
2455        ** Failers
2456        a\rb
2457        a\nb
2458        a\r\nb
2459    
2460    /(*ANY)a.b/<cr>
2461        ** Failers
2462        a\rb
2463        a\nb
2464        a\r\nb
2465        a\x85b
2466    
2467    /a\Rb/I<bsr_anycrlf>
2468        a\rb
2469        a\nb
2470        a\r\nb
2471        ** Failers
2472        a\x85b
2473        a\x0bb
2474    
2475    /a\Rb/I<bsr_unicode>
2476        a\rb
2477        a\nb
2478        a\r\nb
2479        a\x85b
2480        a\x0bb
2481        ** Failers
2482        a\x85b\<bsr_anycrlf>
2483        a\x0bb\<bsr_anycrlf>
2484    
2485    /a\R?b/I<bsr_anycrlf>
2486        a\rb
2487        a\nb
2488        a\r\nb
2489        ** Failers
2490        a\x85b
2491        a\x0bb
2492    
2493    /a\R?b/I<bsr_unicode>
2494        a\rb
2495        a\nb
2496        a\r\nb
2497        a\x85b
2498        a\x0bb
2499        ** Failers
2500        a\x85b\<bsr_anycrlf>
2501        a\x0bb\<bsr_anycrlf>
2502    
2503    /a\R{2,4}b/I<bsr_anycrlf>
2504        a\r\n\nb
2505        a\n\r\rb
2506        a\r\n\r\n\r\n\r\nb
2507        ** Failers
2508        a\x85\85b
2509        a\x0b\0bb
2510    
2511    /a\R{2,4}b/I<bsr_unicode>
2512        a\r\rb
2513        a\n\n\nb
2514        a\r\n\n\r\rb
2515        a\x85\85b
2516        a\x0b\0bb
2517        ** Failers
2518        a\r\r\r\r\rb
2519        a\x85\85b\<bsr_anycrlf>
2520        a\x0b\0bb\<bsr_anycrlf>
2521    
2522    /(*BSR_ANYCRLF)a\Rb/I
2523        a\nb
2524        a\rb
2525    
2526    /(*BSR_UNICODE)a\Rb/I
2527        a\x85b
2528    
2529    /(*BSR_ANYCRLF)(*CRLF)a\Rb/I
2530        a\nb
2531        a\rb
2532    
2533    /(*CRLF)(*BSR_UNICODE)a\Rb/I
2534        a\x85b
2535    
2536    /(*CRLF)(*BSR_ANYCRLF)(*CR)ab/I
2537    
2538    /(?<a>)(?&)/
2539    
2540    /(?<abc>)(?&a)/
2541    
2542    /(?<a>)(?&aaaaaaaaaaaaaaaaaaaaaaa)/
2543    
2544  / End of testinput2 /  / End of testinput2 /

Legend:
Removed from v.180  
changed lines
  Added in v.268

  ViewVC Help
Powered by ViewVC 1.1.5