Return to pcre_get_stringnumber.html CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / pcre / doc / html |
1.1 ! misho 1: <html> ! 2: <head> ! 3: <title>pcre_get_stringnumber specification</title> ! 4: </head> ! 5: <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB"> ! 6: <h1>pcre_get_stringnumber man page</h1> ! 7: <p> ! 8: 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> ! 16: SYNOPSIS ! 17: </b><br> ! 18: <P> ! 19: <b>#include <pcre.h></b> ! 20: </P> ! 21: <P> ! 22: <b>int pcre_get_stringnumber(const pcre *<i>code</i>,</b> ! 23: <b>const char *<i>name</i>);</b> ! 24: </P> ! 25: <br><b> ! 26: DESCRIPTION ! 27: </b><br> ! 28: <P> ! 29: This convenience function finds the number of a named substring capturing ! 30: parenthesis in a compiled pattern. Its arguments are: ! 31: <pre> ! 32: <i>code</i> Compiled regular expression ! 33: <i>name</i> Name whose number is required ! 34: </pre> ! 35: The yield of the function is the number of the parenthesis if the name is ! 36: found, or PCRE_ERROR_NOSUBSTRING otherwise. When duplicate names are allowed ! 37: (PCRE_DUPNAMES is set), it is not defined which of the numbers is returned by ! 38: <b>pcre_get_stringnumber()</b>. You can obtain the complete list by calling ! 39: <b>pcre_get_stringtable_entries()</b>. ! 40: </P> ! 41: <P> ! 42: There is a complete description of the PCRE native API in the ! 43: <a href="pcreapi.html"><b>pcreapi</b></a> ! 44: page and a description of the POSIX API in the ! 45: <a href="pcreposix.html"><b>pcreposix</b></a> ! 46: page. ! 47: <p> ! 48: Return to the <a href="index.html">PCRE index page</a>. ! 49: </p>