/[pcre]/code/trunk/pcre.3
ViewVC logotype

Diff of /code/trunk/pcre.3

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

revision 5 by nigel, Sat Feb 24 21:38:05 2007 UTC revision 7 by nigel, Sat Feb 24 21:38:09 2007 UTC
# Line 603  operation from backtracking past it. For Line 603  operation from backtracking past it. For
603    
604    .*/foo    .*/foo
605    
606  is matched against the string "/foo/this/is/not" then after the initial greedy  is matched against the string "/foo/this/is/not" then after the greedy .*
607  .* has swallowed the whole string, it keeps backtracking right the way to the  has swallowed the whole string, PCRE keeps backtracking all the way to the
608  beginning before failing. If, on the other hand, the expression is  beginning before failing. If, on the other hand, the expression is
609    
610    .*/\\Xfoo    .*/\\Xfoo
# Line 866  own right. Because it has two uses, it c Line 866  own right. Because it has two uses, it c
866  which matches one digit by preference, but can match two if that is the only  which matches one digit by preference, but can match two if that is the only
867  way the rest of the pattern matches.  way the rest of the pattern matches.
868    
869  When a parenthesized subpattern is quantified a with minimum repeat count that  When a parenthesized subpattern is quantified with a minimum repeat count that
870  is greater than 1 or with a limited maximum, more store is required for the  is greater than 1 or with a limited maximum, more store is required for the
871  compiled pattern, in proportion to the size of the minimum or maximum.  compiled pattern, in proportion to the size of the minimum or maximum.
872    

Legend:
Removed from v.5  
changed lines
  Added in v.7

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12