| 1653 |
that in any one match, only one of the named subpatterns participates. An |
that in any one match, only one of the named subpatterns participates. An |
| 1654 |
example is shown in the |
example is shown in the |
| 1655 |
<a href="pcrepattern.html"><b>pcrepattern</b></a> |
<a href="pcrepattern.html"><b>pcrepattern</b></a> |
| 1656 |
documentation. When duplicates are present, <b>pcre_copy_named_substring()</b> |
documentation. |
| 1657 |
and <b>pcre_get_named_substring()</b> return the first substring corresponding |
</P> |
| 1658 |
to the given name that is set. If none are set, an empty string is returned. |
<P> |
| 1659 |
The <b>pcre_get_stringnumber()</b> function returns one of the numbers that are |
When duplicates are present, <b>pcre_copy_named_substring()</b> and |
| 1660 |
associated with the name, but it is not defined which it is. |
<b>pcre_get_named_substring()</b> return the first substring corresponding to |
| 1661 |
<br> |
the given name that is set. If none are set, PCRE_ERROR_NOSUBSTRING (-7) is |
| 1662 |
<br> |
returned; no data is returned. The <b>pcre_get_stringnumber()</b> function |
| 1663 |
|
returns one of the numbers that are associated with the name, but it is not |
| 1664 |
|
defined which it is. |
| 1665 |
|
</P> |
| 1666 |
|
<P> |
| 1667 |
If you want to get full details of all captured substrings for a given name, |
If you want to get full details of all captured substrings for a given name, |
| 1668 |
you must use the <b>pcre_get_stringtable_entries()</b> function. The first |
you must use the <b>pcre_get_stringtable_entries()</b> function. The first |
| 1669 |
argument is the compiled pattern, and the second is the name. The third and |
argument is the compiled pattern, and the second is the name. The third and |