/[pcre]/code/trunk/testoutput
ViewVC logotype

Diff of /code/trunk/testoutput

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

revision 30 by nigel, Sat Feb 24 21:38:53 2007 UTC revision 31 by nigel, Sat Feb 24 21:38:57 2007 UTC
# Line 1  Line 1 
1  PCRE version 2.03 12-Feb-1999  PCRE version 2.04 19-Feb-1999
2    
3  /the quick brown fox/  /the quick brown fox/
4      the quick brown fox      the quick brown fox
# Line 2531  No match Line 2531  No match
2531      01/01/2000      01/01/2000
2532   0: 01/01/2000   0: 01/01/2000
2533    
2534    /word (?:[a-zA-Z0-9]+ ){0,10}otherword/
2535      word cat dog elephant mussel cow horse canary baboon snake shark otherword
2536     0: word cat dog elephant mussel cow horse canary baboon snake shark otherword
2537      word cat dog elephant mussel cow horse canary baboon snake shark
2538    No match
2539    
2540    /word (?:[a-zA-Z0-9]+ ){0,300}otherword/
2541      word cat dog elephant mussel cow horse canary baboon snake shark the quick brown fox and the lazy dog and several other words getting close to thirty by now I hope
2542    No match
2543    
2544    /^(a){0,0}/
2545        bcd
2546     0:
2547        abc
2548     0:
2549        aab
2550     0:
2551    
2552    /^(a){0,1}/
2553        bcd
2554     0:
2555        abc
2556     0: a
2557     1: a
2558        aab
2559     0: a
2560     1: a
2561    
2562    /^(a){0,2}/
2563        bcd
2564     0:
2565        abc
2566     0: a
2567     1: a
2568        aab
2569     0: aa
2570     1: a
2571    
2572    /^(a){0,3}/
2573        bcd
2574     0:
2575        abc
2576     0: a
2577     1: a
2578        aab
2579     0: aa
2580     1: a
2581        aaa
2582     0: aaa
2583     1: a
2584    
2585    /^(a){0,}/
2586        bcd
2587     0:
2588        abc
2589     0: a
2590     1: a
2591        aab
2592     0: aa
2593     1: a
2594        aaa
2595     0: aaa
2596     1: a
2597        aaaaaaaa
2598     0: aaaaaaaa
2599     1: a
2600    
2601    /^(a){1,1}/
2602        bcd
2603    No match
2604        abc
2605     0: a
2606     1: a
2607        aab
2608     0: a
2609     1: a
2610    
2611    /^(a){1,2}/
2612        bcd
2613    No match
2614        abc
2615     0: a
2616     1: a
2617        aab
2618     0: aa
2619     1: a
2620    
2621    /^(a){1,3}/
2622        bcd
2623    No match
2624        abc
2625     0: a
2626     1: a
2627        aab
2628     0: aa
2629     1: a
2630        aaa
2631     0: aaa
2632     1: a
2633    
2634    /^(a){1,}/
2635        bcd
2636    No match
2637        abc
2638     0: a
2639     1: a
2640        aab
2641     0: aa
2642     1: a
2643        aaa
2644     0: aaa
2645     1: a
2646        aaaaaaaa
2647     0: aaaaaaaa
2648     1: a
2649    
2650  / End of test input /  / End of test input /
2651    

Legend:
Removed from v.30  
changed lines
  Added in v.31

  ViewVC Help
Powered by ViewVC 1.1.5