From 582b500cd996c96054615870fd13d6ab0ea77428 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 10 Oct 2009 15:10:05 +0000 Subject: start integrating windows port git-svn-id: svn+q:///qpdf/trunk@757 71b93d88-0707-0410-a8cf-f5a4172ac649 --- external-libs/pcre/doc/pcre_copy_substring.3 | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 external-libs/pcre/doc/pcre_copy_substring.3 (limited to 'external-libs/pcre/doc/pcre_copy_substring.3') diff --git a/external-libs/pcre/doc/pcre_copy_substring.3 b/external-libs/pcre/doc/pcre_copy_substring.3 new file mode 100644 index 00000000..d61b99bf --- /dev/null +++ b/external-libs/pcre/doc/pcre_copy_substring.3 @@ -0,0 +1,37 @@ +.TH PCRE 3 +.SH NAME +PCRE - Perl-compatible regular expressions +.SH SYNOPSIS +.rs +.sp +.B #include +.PP +.SM +.br +.B int pcre_copy_substring(const char *\fIsubject\fR, int *\fIovector\fR, +.ti +5n +.B int \fIstringcount\fR, int \fIstringnumber\fR, char *\fIbuffer\fR, +.ti +5n +.B int \fIbuffersize\fR); + +.SH DESCRIPTION +.rs +.sp +This is a convenience function for extracting a captured substring into a given +buffer. The arguments are: + + \fIsubject\fR Subject that has been successfully matched + \fIovector\fR Offset vector that \fBpcre_exec()\fR used + \fIstringcount\fR Value returned by \fBpcre_exec()\fR + \fIstringnumber\fR Number of the required substring + \fIbuffer\fR Buffer to receive the string + \fIbuffersize\fR Size of buffer + +The yield is the legnth of the string, PCRE_ERROR_NOMEMORY if the buffer was +too small, or PCRE_ERROR_NOSUBSTRING if the string number is invalid. + +There is a complete description of the PCRE API in the +.\" HREF +\fBpcreapi\fR +.\" +page. -- cgit v1.2.3-70-g09d2