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

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

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

revision 63 by nigel, Sat Feb 24 21:40:03 2007 UTC revision 869 by ph10, Sat Jan 14 11:16:23 2012 UTC
# Line 3  Line 3 
3  <title>pcre_copy_named_substring specification</title>  <title>pcre_copy_named_substring specification</title>
4  </head>  </head>
5  <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">  <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6  This HTML document has been generated automatically from the original man page.  <h1>pcre_copy_named_substring man page</h1>
7  If there is any nonsense in it, please consult the man page, in case the  <p>
8  conversion went wrong.<br>  Return to the <a href="index.html">PCRE index page</a>.
9    </p>
10    <p>
11    This page is part of the PCRE HTML documentation. It was generated automatically
12    from the original man page. If there is any nonsense in it, please consult the
13    man page, in case the conversion went wrong.
14    <br>
15  <br><b>  <br><b>
16  SYNOPSIS  SYNOPSIS
17  </b><br>  </b><br>
# Line 18  SYNOPSIS Line 24  SYNOPSIS
24  <b>int <i>stringcount</i>, const char *<i>stringname</i>,</b>  <b>int <i>stringcount</i>, const char *<i>stringname</i>,</b>
25  <b>char *<i>buffer</i>, int <i>buffersize</i>);</b>  <b>char *<i>buffer</i>, int <i>buffersize</i>);</b>
26  </P>  </P>
27    <P>
28    <b>int pcre16_copy_named_substring(const pcre16 *<i>code</i>,</b>
29    <b>PCRE_SPTR16 <i>subject</i>, int *<i>ovector</i>,</b>
30    <b>int <i>stringcount</i>, PCRE_SPTR16 <i>stringname</i>,</b>
31    <b>PCRE_UCHAR16 *<i>buffer</i>, int <i>buffersize</i>);</b>
32    </P>
33  <br><b>  <br><b>
34  DESCRIPTION  DESCRIPTION
35  </b><br>  </b><br>
36  <P>  <P>
37  This is a convenience function for extracting a captured substring, identified  This is a convenience function for extracting a captured substring, identified
38  by name, into a given buffer. The arguments are:  by name, into a given buffer. The arguments are:
 </P>  
 <P>  
39  <pre>  <pre>
40    <i>code</i>          Pattern that was successfully matched    <i>code</i>          Pattern that was successfully matched
41    <i>subject</i>       Subject that has been successfully matched    <i>subject</i>       Subject that has been successfully matched
42    <i>ovector</i>       Offset vector that <b>pcre_exec()</b> used    <i>ovector</i>       Offset vector that <b>pcre[16]_exec()</b> used
43    <i>stringcount</i>   Value returned by <b>pcre_exec()</b>    <i>stringcount</i>   Value returned by <b>pcre[16]_exec()</b>
44    <i>stringname</i>    Name of the required substring    <i>stringname</i>    Name of the required substring
45    <i>buffer</i>        Buffer to receive the string    <i>buffer</i>        Buffer to receive the string
46    <i>buffersize</i>    Size of buffer    <i>buffersize</i>    Size of buffer
47  </PRE>  </pre>
 </P>  
 <P>  
48  The yield is the length of the substring, PCRE_ERROR_NOMEMORY if the buffer was  The yield is the length of the substring, PCRE_ERROR_NOMEMORY if the buffer was
49  too small, or PCRE_ERROR_NOSUBSTRING if the string name is invalid.  too small, or PCRE_ERROR_NOSUBSTRING if the string name is invalid.
50  </P>  </P>
51  <P>  <P>
52  There is a complete description of the PCRE API in the  There is a complete description of the PCRE native API in the
53  <a href="pcreapi.html"><b>pcreapi</b></a>  <a href="pcreapi.html"><b>pcreapi</b></a>
54    page and a description of the POSIX API in the
55    <a href="pcreposix.html"><b>pcreposix</b></a>
56  page.  page.
57    <p>
58    Return to the <a href="index.html">PCRE index page</a>.
59    </p>

Legend:
Removed from v.63  
changed lines
  Added in v.869

  ViewVC Help
Powered by ViewVC 1.1.5