/[pcre]/code/trunk/doc/html/pcre_get_substring_list.html
ViewVC logotype

Diff of /code/trunk/doc/html/pcre_get_substring_list.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1193 by ph10, Sat Jan 14 11:16:23 2012 UTC revision 1194 by ph10, Wed Oct 31 17:42:29 2012 UTC
# Line 26  SYNOPSIS Line 26  SYNOPSIS
26  <b>int pcre16_get_substring_list(PCRE_SPTR16 <i>subject</i>,</b>  <b>int pcre16_get_substring_list(PCRE_SPTR16 <i>subject</i>,</b>
27  <b>int *<i>ovector</i>, int <i>stringcount</i>, PCRE_SPTR16 **<i>listptr</i>);</b>  <b>int *<i>ovector</i>, int <i>stringcount</i>, PCRE_SPTR16 **<i>listptr</i>);</b>
28  </P>  </P>
29    <P>
30    <b>int pcre32_get_substring_list(PCRE_SPTR32 <i>subject</i>,</b>
31    <b>int *<i>ovector</i>, int <i>stringcount</i>, PCRE_SPTR32 **<i>listptr</i>);</b>
32    </P>
33  <br><b>  <br><b>
34  DESCRIPTION  DESCRIPTION
35  </b><br>  </b><br>
# Line 34  This is a convenience function for extra Line 38  This is a convenience function for extra
38  substrings. The arguments are:  substrings. The arguments are:
39  <pre>  <pre>
40    <i>subject</i>       Subject that has been successfully matched    <i>subject</i>       Subject that has been successfully matched
41    <i>ovector</i>       Offset vector that <b>pcre[16]_exec</b> used    <i>ovector</i>       Offset vector that <b>pcre[16|32]_exec</b> used
42    <i>stringcount</i>   Value returned by <b>pcre[16]_exec</b>    <i>stringcount</i>   Value returned by <b>pcre[16|32]_exec</b>
43    <i>listptr</i>       Where to put a pointer to the list    <i>listptr</i>       Where to put a pointer to the list
44  </pre>  </pre>
45  The memory in which the substrings and the list are placed is obtained by  The memory in which the substrings and the list are placed is obtained by
46  calling <b>pcre[16]_malloc()</b>. The convenience function  calling <b>pcre[16|32]_malloc()</b>. The convenience function
47  <b>pcre[16]_free_substring_list()</b> can be used to free it when it is no  <b>pcre[16|32]_free_substring_list()</b> can be used to free it when it is no
48  longer needed. A pointer to a list of pointers is put in the variable whose  longer needed. A pointer to a list of pointers is put in the variable whose
49  address is in <i>listptr</i>. The list is terminated by a NULL pointer. The  address is in <i>listptr</i>. The list is terminated by a NULL pointer. The
50  yield of the function is zero on success or PCRE_ERROR_NOMEMORY if sufficient  yield of the function is zero on success or PCRE_ERROR_NOMEMORY if sufficient

Legend:
Removed from v.1193  
changed lines
  Added in v.1194

  ViewVC Help
Powered by ViewVC 1.1.5