1 |
.TH PCRE 3 |
.TH PCRE_COPY_SUBSTRING 3 |
2 |
.SH NAME |
.SH NAME |
3 |
PCRE - Perl-compatible regular expressions |
PCRE - Perl-compatible regular expressions |
4 |
.SH SYNOPSIS |
.SH SYNOPSIS |
7 |
.B #include <pcre.h> |
.B #include <pcre.h> |
8 |
.PP |
.PP |
9 |
.SM |
.SM |
|
.br |
|
10 |
.B int pcre_copy_substring(const char *\fIsubject\fP, int *\fIovector\fP, |
.B int pcre_copy_substring(const char *\fIsubject\fP, int *\fIovector\fP, |
11 |
.ti +5n |
.ti +5n |
12 |
.B int \fIstringcount\fP, int \fIstringnumber\fP, char *\fIbuffer\fP, |
.B int \fIstringcount\fP, int \fIstringnumber\fP, char *\fIbuffer\fP, |
26 |
\fIbuffer\fP Buffer to receive the string |
\fIbuffer\fP Buffer to receive the string |
27 |
\fIbuffersize\fP Size of buffer |
\fIbuffersize\fP Size of buffer |
28 |
.sp |
.sp |
29 |
The yield is the legnth of the string, PCRE_ERROR_NOMEMORY if the buffer was |
The yield is the length of the string, PCRE_ERROR_NOMEMORY if the buffer was |
30 |
too small, or PCRE_ERROR_NOSUBSTRING if the string number is invalid. |
too small, or PCRE_ERROR_NOSUBSTRING if the string number is invalid. |
31 |
.P |
.P |
32 |
There is a complete description of the PCRE native API in the |
There is a complete description of the PCRE native API in the |