summaryrefslogtreecommitdiffstats
path: root/external-libs/pcre/doc/pcre_get_substring_list.3
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-10-10 17:10:05 +0200
committerJay Berkenbilt <ejb@ql.org>2009-10-10 17:10:05 +0200
commit582b500cd996c96054615870fd13d6ab0ea77428 (patch)
treeac17afc801d6c2449910e3fcbb6f45eed401feba /external-libs/pcre/doc/pcre_get_substring_list.3
parent9e1a25fc55534ac05ef73727819970217b3e488c (diff)
downloadqpdf-582b500cd996c96054615870fd13d6ab0ea77428.tar.zst
start integrating windows port
git-svn-id: svn+q:///qpdf/trunk@757 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'external-libs/pcre/doc/pcre_get_substring_list.3')
-rw-r--r--external-libs/pcre/doc/pcre_get_substring_list.333
1 files changed, 33 insertions, 0 deletions
diff --git a/external-libs/pcre/doc/pcre_get_substring_list.3 b/external-libs/pcre/doc/pcre_get_substring_list.3
new file mode 100644
index 00000000..69090e1b
--- /dev/null
+++ b/external-libs/pcre/doc/pcre_get_substring_list.3
@@ -0,0 +1,33 @@
+.TH PCRE 3
+.SH NAME
+PCRE - Perl-compatible regular expressions
+.SH SYNOPSIS
+.rs
+.sp
+.B #include <pcre.h>
+.PP
+.SM
+.br
+.B int pcre_get_substring_list(const char *\fIsubject\fR,
+.ti +5n
+.B int *\fIovector\fR, int \fIstringcount\fR, "const char ***\fIlistptr\fR);"
+
+.SH DESCRIPTION
+.rs
+.sp
+This is a convenience function for extracting a list of all the captured
+substrings. 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
+ \fIlistptr\fR Where to put a pointer to the list
+
+The yield is zero on success or PCRE_ERROR_NOMEMORY if sufficient memory could
+not be obtained.
+
+There is a complete description of the PCRE API in the
+.\" HREF
+\fBpcreapi\fR
+.\"
+page.