--- code/trunk/doc/pcreapi.3 2011/11/14 11:41:03 745 +++ code/trunk/doc/pcreapi.3 2011/12/01 11:02:56 776 @@ -1262,10 +1262,13 @@ .sp PCRE_INFO_SIZE .sp -Return the size of the compiled pattern, that is, the value that was passed as -the argument to \fBpcre_malloc()\fP when PCRE was getting memory in which to -place the compiled data. The fourth argument should point to a \fBsize_t\fP -variable. +Return the size of the compiled pattern. The fourth argument should point to a +\fBsize_t\fP variable. This value does not include the size of the \fBpcre\fP +structure that is returned by \fBpcre_compile()\fP. The value that is passed as +the argument to \fBpcre_malloc()\fP when \fBpcre_compile()\fP is getting memory +in which to place the compiled data is the value returned by this option plus +the size of the \fBpcre\fP structure. Studying a compiled pattern, with or +without JIT, does not alter the value returned by this option. .sp PCRE_INFO_STUDYSIZE .sp @@ -2544,6 +2547,6 @@ .rs .sp .nf -Last updated: 14 November 2011 +Last updated: 01 December 2011 Copyright (c) 1997-2011 University of Cambridge. .fi