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 "/this/string/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 |
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 |
|
|