summaryrefslogtreecommitdiff
path: root/doc/html/pcreapi.html
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-09-22 09:42:11 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-09-22 09:42:11 +0000
commit13ec83b84a6939e47ebabc1836caec7d94836896 (patch)
tree4590c85bd69ba6b50d8a741a3469a023edfc03fc /doc/html/pcreapi.html
parent20dd865c5c8f10036cda34b9870351b702399c08 (diff)
downloadpcre-13ec83b84a6939e47ebabc1836caec7d94836896.tar.gz
Allow fixed-length subroutine calls in lookbehinds.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@454 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'doc/html/pcreapi.html')
-rw-r--r--doc/html/pcreapi.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/html/pcreapi.html b/doc/html/pcreapi.html
index 1d1ca12..cac98d9 100644
--- a/doc/html/pcreapi.html
+++ b/doc/html/pcreapi.html
@@ -434,9 +434,12 @@ If <i>errptr</i> is NULL, <b>pcre_compile()</b> returns NULL immediately.
Otherwise, if compilation of a pattern fails, <b>pcre_compile()</b> returns
NULL, and sets the variable pointed to by <i>errptr</i> to point to a textual
error message. This is a static string that is part of the library. You must
-not try to free it. The offset from the start of the pattern to the character
-where the error was discovered is placed in the variable pointed to by
-<i>erroffset</i>, which must not be NULL. If it is, an immediate error is given.
+not try to free it. The byte offset from the start of the pattern to the
+character that was being processes when the error was discovered is placed in
+the variable pointed to by <i>erroffset</i>, which must not be NULL. If it is,
+an immediate error is given. Some errors are not detected until checks are
+carried out when the whole pattern has been scanned; in this case the offset is
+set to the end of the pattern.
</P>
<P>
If <b>pcre_compile2()</b> is used instead of <b>pcre_compile()</b>, and the
@@ -2018,7 +2021,7 @@ Cambridge CB2 3QH, England.
</P>
<br><a name="SEC22" href="#TOC1">REVISION</a><br>
<P>
-Last updated: 11 September 2009
+Last updated: 22 September 2009
<br>
Copyright &copy; 1997-2009 University of Cambridge.
<br>