1 |
<html>
|
2 |
<head>
|
3 |
<title>pcre_get_substring_list specification</title>
|
4 |
</head>
|
5 |
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
6 |
This HTML document has been generated automatically from the original man page.
|
7 |
If there is any nonsense in it, please consult the man page, in case the
|
8 |
conversion went wrong.<br>
|
9 |
<br><b>
|
10 |
SYNOPSIS
|
11 |
</b><br>
|
12 |
<P>
|
13 |
<b>#include <pcre.h></b>
|
14 |
</P>
|
15 |
<P>
|
16 |
<b>int pcre_get_substring_list(const char *<i>subject</i>,</b>
|
17 |
<b>int *<i>ovector</i>, int <i>stringcount</i>, const char ***<i>listptr</i>);</b>
|
18 |
</P>
|
19 |
<br><b>
|
20 |
DESCRIPTION
|
21 |
</b><br>
|
22 |
<P>
|
23 |
This is a convenience function for extracting a list of all the captured
|
24 |
substrings. The arguments are:
|
25 |
</P>
|
26 |
<P>
|
27 |
<pre>
|
28 |
<i>subject</i> Subject that has been successfully matched
|
29 |
<i>ovector</i> Offset vector that <b>pcre_exec</b> used
|
30 |
<i>stringcount</i> Value returned by <b>pcre_exec</b>
|
31 |
<i>listptr</i> Where to put a pointer to the list
|
32 |
</PRE>
|
33 |
</P>
|
34 |
<P>
|
35 |
The yield is zero on success or PCRE_ERROR_NOMEMORY if sufficient memory could
|
36 |
not be obtained.
|
37 |
</P>
|
38 |
<P>
|
39 |
There is a complete description of the PCRE API in the
|
40 |
<a href="pcreapi.html"><b>pcreapi</b></a>
|
41 |
page.
|