| 7 |
<p> |
<p> |
| 8 |
Return to the <a href="index.html">PCRE index page</a>. |
Return to the <a href="index.html">PCRE index page</a>. |
| 9 |
</p> |
</p> |
| 10 |
<p> |
<p> |
| 11 |
This page is part of the PCRE HTML documentation. It was generated automatically |
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 |
from the original man page. If there is any nonsense in it, please consult the |
| 13 |
man page, in case the conversion went wrong. |
man page, in case the conversion went wrong. |
| 14 |
<br> |
<br> |
| 15 |
<br><b> |
<br><b> |
| 16 |
SYNOPSIS |
SYNOPSIS |
| 17 |
</b><br> |
</b><br> |
| 37 |
<i>stringptr</i> Where to put the string pointer |
<i>stringptr</i> Where to put the string pointer |
| 38 |
</pre> |
</pre> |
| 39 |
The memory in which the substring is placed is obtained by calling |
The memory in which the substring is placed is obtained by calling |
| 40 |
<b>pcre_malloc()</b>. The yield of the function is the length of the substring, |
<b>pcre_malloc()</b>. The convenience function <b>pcre_free_substring()</b> can |
| 41 |
PCRE_ERROR_NOMEMORY if sufficient memory could not be obtained, or |
be used to free it when it is no longer needed. The yield of the function is |
| 42 |
PCRE_ERROR_NOSUBSTRING if the string number is invalid. |
the length of the substring, PCRE_ERROR_NOMEMORY if sufficient memory could not |
| 43 |
|
be obtained, or PCRE_ERROR_NOSUBSTRING if the string number is invalid. |
| 44 |
</P> |
</P> |
| 45 |
<P> |
<P> |
| 46 |
There is a complete description of the PCRE native API in the |
There is a complete description of the PCRE native API in the |