/[pcre]/code/trunk/doc/pcre_get_named_substring.3
ViewVC logotype

Diff of /code/trunk/doc/pcre_get_named_substring.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 75 by nigel, Sat Feb 24 21:40:37 2007 UTC revision 99 by ph10, Tue Mar 6 12:27:42 2007 UTC
# Line 1  Line 1 
1  .TH PCRE 3  .TH PCRE_GET_NAMED_SUBSTRING 3
2  .SH NAME  .SH NAME
3  PCRE - Perl-compatible regular expressions  PCRE - Perl-compatible regular expressions
4  .SH SYNOPSIS  .SH SYNOPSIS
# Line 7  PCRE - Perl-compatible regular expressio Line 7  PCRE - Perl-compatible regular expressio
7  .B #include <pcre.h>  .B #include <pcre.h>
8  .PP  .PP
9  .SM  .SM
 .br  
10  .B int pcre_get_named_substring(const pcre *\fIcode\fP,  .B int pcre_get_named_substring(const pcre *\fIcode\fP,
11  .ti +5n  .ti +5n
12  .B const char *\fIsubject\fP, int *\fIovector\fP,  .B const char *\fIsubject\fP, int *\fIovector\fP,
# Line 30  arguments are: Line 29  arguments are:
29    \fIstringptr\fP     Where to put the string pointer    \fIstringptr\fP     Where to put the string pointer
30  .sp  .sp
31  The memory in which the substring is placed is obtained by calling  The memory in which the substring is placed is obtained by calling
32  \fBpcre_malloc()\fP. The yield of the function is the length of the extracted  \fBpcre_malloc()\fP. The convenience function \fBpcre_free_substring()\fP can
33  substring, PCRE_ERROR_NOMEMORY if sufficient memory could not be obtained, or  be used to free it when it is no longer needed. The yield of the function is
34  PCRE_ERROR_NOSUBSTRING if the string name is invalid.  the length of the extracted substring, PCRE_ERROR_NOMEMORY if sufficient memory
35    could not be obtained, or PCRE_ERROR_NOSUBSTRING if the string name is invalid.
36  .P  .P
37  There is a complete description of the PCRE native API in the  There is a complete description of the PCRE native API in the
38  .\" HREF  .\" HREF

Legend:
Removed from v.75  
changed lines
  Added in v.99

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12