1 .TH PCRE_GET_STRINGTABLE_ENTRIES 3
3 PCRE - Perl-compatible regular expressions
10 .B int pcre_get_stringtable_entries(const pcre *\fIcode\fP,
12 .B const char *\fIname\fP, char **\fIfirst\fP, char **\fIlast\fP);
17 This convenience function finds, for a compiled pattern, the first and last
18 entries for a given name in the table that translates capturing parenthesis
19 names into numbers. When names are required to be unique (PCRE_DUPNAMES is
20 \fInot\fP set), it is usually easier to use \fBpcre_get_stringnumber()\fP
23 \fIcode\fP Compiled regular expression
24 \fIname\fP Name whose entries required
25 \fIfirst\fP Where to return a pointer to the first entry
26 \fIlast\fP Where to return a pointer to the last entry
28 The yield of the function is the length of each entry, or
29 PCRE_ERROR_NOSUBSTRING if none are found.
31 There is a complete description of the PCRE native API, including the format of
32 the table entries, in the
36 page, and a description of the POSIX API in the