table of contents
PCRE_GET_STRINGNUMBER(3) | Library Functions Manual | PCRE_GET_STRINGNUMBER(3) |
NAME¶
PCRE - Perl-compatible regular expressionsSYNOPSIS¶
#include <pcre.h> int pcre_get_stringnumber(const pcre *code, const char *name); int pcre16_get_stringnumber(const pcre16 *code, PCRE_SPTR16 name);DESCRIPTION¶
This convenience function finds the number of a named substring capturing parenthesis in a compiled pattern. Its arguments are:code Compiled regular expression
name Name whose number is required