From 32fef164b0f4d5169e47b9159cfe555ee7320f37 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 23 Mar 2007 15:45:20 +0000 Subject: [PATCH] The maximum length of a subject string (bug #40627) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232441 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pcre/pattern.syntax.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reference/pcre/pattern.syntax.xml b/reference/pcre/pattern.syntax.xml index 48a8e8caf5..809af51049 100644 --- a/reference/pcre/pattern.syntax.xml +++ b/reference/pcre/pattern.syntax.xml @@ -1,5 +1,5 @@ - + @@ -1749,6 +1749,14 @@ which they refer. + + The maximum length of a subject string is the largest positive number + that an integer variable can hold. However, PCRE uses recursion to + handle subpatterns and indefinite repetition. This means that the + available stack space may limit the size of a subject string that can be + processed by certain patterns. + +