diff options
| author | Andrei Zmievski <andrei@php.net> | 2006-03-06 21:34:07 +0000 |
|---|---|---|
| committer | Andrei Zmievski <andrei@php.net> | 2006-03-06 21:34:07 +0000 |
| commit | 18283d39adfed3ad0a5648942812051ebfb07929 (patch) | |
| tree | 27e774a3a3c8322a3f4a45644c726a80007171f3 /ext/pcre/pcrelib/doc/Tech.Notes | |
| parent | 81954dcf78dca4a4a5c7e047ccd35f2767a3c50f (diff) | |
| download | php-git-18283d39adfed3ad0a5648942812051ebfb07929.tar.gz | |
Import PCRE 6.6 and make adjustments.
Diffstat (limited to 'ext/pcre/pcrelib/doc/Tech.Notes')
| -rw-r--r-- | ext/pcre/pcrelib/doc/Tech.Notes | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/pcre/pcrelib/doc/Tech.Notes b/ext/pcre/pcrelib/doc/Tech.Notes index 322cc2de13..aa5398d0fa 100644 --- a/ext/pcre/pcrelib/doc/Tech.Notes +++ b/ext/pcre/pcrelib/doc/Tech.Notes @@ -309,7 +309,10 @@ Recursion Recursion either matches the current regex, or some subexpression. The opcode OP_RECURSE is followed by an value which is the offset to the starting bracket -from the start of the whole pattern. +from the start of the whole pattern. From release 6.5, OP_RECURSE is +automatically wrapped inside OP_ONCE brackets (because otherwise some patterns +broke it). OP_RECURSE is also used for "subroutine" calls, even though they +are not strictly a recursion. Callout @@ -336,4 +339,4 @@ at compile time, and so does not cause anything to be put into the compiled data. Philip Hazel -March 2005 +January 2006 |
