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

Contents of /code/trunk/doc/pcre_copy_substring.3

Parent Directory Parent Directory | Revision Log Revision Log


Revision 99 - (hide annotations) (download)
Tue Mar 6 12:27:42 2007 UTC (6 years, 2 months ago) by ph10
File size: 1106 byte(s)
1. Move the comment about version numbers from pcre.h.in to configure.ac 
because that's where they are now set.
2. Update all the man pages to remove the use of .br and .in because this
causes trouble for some HTML converters. Also standardised the final sections 
giving author information and revision date.
3. Update the maintain/132html man page converter to handle .nf/.fi and to barf 
at .br/.in.

1 nigel 79 .TH PCRE_COPY_SUBSTRING 3
2 nigel 63 .SH NAME
3     PCRE - Perl-compatible regular expressions
4     .SH SYNOPSIS
5     .rs
6     .sp
7     .B #include <pcre.h>
8     .PP
9     .SM
10 nigel 75 .B int pcre_copy_substring(const char *\fIsubject\fP, int *\fIovector\fP,
11 nigel 63 .ti +5n
12 nigel 75 .B int \fIstringcount\fP, int \fIstringnumber\fP, char *\fIbuffer\fP,
13 nigel 63 .ti +5n
14 nigel 75 .B int \fIbuffersize\fP);
15     .
16 nigel 63 .SH DESCRIPTION
17     .rs
18     .sp
19     This is a convenience function for extracting a captured substring into a given
20     buffer. The arguments are:
21 nigel 75 .sp
22     \fIsubject\fP Subject that has been successfully matched
23     \fIovector\fP Offset vector that \fBpcre_exec()\fP used
24     \fIstringcount\fP Value returned by \fBpcre_exec()\fP
25     \fIstringnumber\fP Number of the required substring
26     \fIbuffer\fP Buffer to receive the string
27     \fIbuffersize\fP Size of buffer
28     .sp
29 nigel 93 The yield is the length of the string, PCRE_ERROR_NOMEMORY if the buffer was
30 nigel 63 too small, or PCRE_ERROR_NOSUBSTRING if the string number is invalid.
31 nigel 75 .P
32     There is a complete description of the PCRE native API in the
33 nigel 63 .\" HREF
34 nigel 75 \fBpcreapi\fP
35 nigel 63 .\"
36 nigel 75 page and a description of the POSIX API in the
37     .\" HREF
38     \fBpcreposix\fP
39     .\"
40 nigel 63 page.

Properties

Name Value
svn:eol-style native
svn:keywords "Author Date Id Revision Url"

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12