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

Diff of /code/trunk/testoutput2

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

revision 18 by nigel, Sat Feb 24 21:38:29 2007 UTC revision 19 by nigel, Sat Feb 24 21:38:33 2007 UTC
# Line 1  Line 1 
1  Testing Perl-Compatible Regular Expressions  Testing Perl-Compatible Regular Expressions
2  PCRE version 1.07 16-Feb-1998  PCRE version 1.08 27-Mar-1998
3    
4  /(a)b|/  /(a)b|/
5  Identifying subpattern count = 1  Identifying subpattern count = 1
# Line 85  Failed: \ at end of pattern at offset 4 Line 85  Failed: \ at end of pattern at offset 4
85  /ab\gdef/X  /ab\gdef/X
86  Failed: unrecognized character follows \ at offset 3  Failed: unrecognized character follows \ at offset 3
87    
88    /(?X)ab\gdef/X
89    Failed: unrecognized character follows \ at offset 7
90    
91  /x{5,4}/  /x{5,4}/
92  Failed: numbers out of order in {} quantifier at offset 5  Failed: numbers out of order in {} quantifier at offset 5
93    
# Line 353  No first char Line 356  No first char
356      /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/      /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
357  No match  No match
358    
359    "(?X).*/\Xfoo"
360    Identifying subpattern count = 0
361    Options: anchored extra
362    No first char
363        /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
364    No match
365    
366  ".*/\Xfoo"X  ".*/\Xfoo"X
367  Identifying subpattern count = 0  Identifying subpattern count = 0
368  Options: anchored extra  Options: anchored extra
# Line 360  No first char Line 370  No first char
370      /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo      /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
371   0: /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo   0: /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
372    
373    "(?X).*/\Xfoo"
374    Identifying subpattern count = 0
375    Options: anchored extra
376    No first char
377        /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
378     0: /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
379    
380  /(\.\d\d[1-9]?)\d+/  /(\.\d\d[1-9]?)\d+/
381  Identifying subpattern count = 1  Identifying subpattern count = 1
382  No options  No options
# Line 647  Failed: operand of unlimited repeat coul Line 664  Failed: operand of unlimited repeat coul
664  /((a|b|c)*)*/  /((a|b|c)*)*/
665  Failed: operand of unlimited repeat could match the empty string at offset 10  Failed: operand of unlimited repeat could match the empty string at offset 10
666    
667    /<.*>/
668    Identifying subpattern count = 0
669    No options
670    First char = '<'
671        abc<def>ghi<klm>nop
672     0: <def>ghi<klm>
673    
674    /<.*?>/
675    Identifying subpattern count = 0
676    No options
677    First char = '<'
678        abc<def>ghi<klm>nop
679     0: <def>
680    
681    /<.*>/U
682    Identifying subpattern count = 0
683    Options: ungreedy
684    First char = '<'
685        abc<def>ghi<klm>nop
686     0: <def>
687    
688    /<.*>(?U)/
689    Identifying subpattern count = 0
690    Options: ungreedy
691    First char = '<'
692        abc<def>ghi<klm>nop
693     0: <def>
694    
695    /<.*?>/U
696    Identifying subpattern count = 0
697    Options: ungreedy
698    First char = '<'
699        abc<def>ghi<klm>nop
700     0: <def>ghi<klm>
701    
702    /={3,}/U
703    Identifying subpattern count = 0
704    Options: ungreedy
705    First char = '='
706        abc========def
707     0: ===
708    
709    /(?U)={3,}?/
710    Identifying subpattern count = 0
711    Options: ungreedy
712    First char = '='
713        abc========def
714     0: ========
715    
716  / End of test input /  / End of test input /
717  Identifying subpattern count = 0  Identifying subpattern count = 0
718  No options  No options

Legend:
Removed from v.18  
changed lines
  Added in v.19

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12