--- code/trunk/doc/pcre_get_named_substring.3 2007/02/24 21:40:52 79 +++ code/trunk/doc/pcre_get_named_substring.3 2007/03/06 12:27:42 99 @@ -7,7 +7,6 @@ .B #include .PP .SM -.br .B int pcre_get_named_substring(const pcre *\fIcode\fP, .ti +5n .B const char *\fIsubject\fP, int *\fIovector\fP, @@ -30,9 +29,10 @@ \fIstringptr\fP Where to put the string pointer .sp The memory in which the substring is placed is obtained by calling -\fBpcre_malloc()\fP. The yield of the function is the length of the extracted -substring, PCRE_ERROR_NOMEMORY if sufficient memory could not be obtained, or -PCRE_ERROR_NOSUBSTRING if the string name is invalid. +\fBpcre_malloc()\fP. The convenience function \fBpcre_free_substring()\fP can +be used to free it when it is no longer needed. The yield of the function is +the length of the extracted substring, PCRE_ERROR_NOMEMORY if sufficient memory +could not be obtained, or PCRE_ERROR_NOSUBSTRING if the string name is invalid. .P There is a complete description of the PCRE native API in the .\" HREF