1PCRE_GET_STRINGTABLE_ENTRIESL(i3b)rary Functions ManPuCaRlE_GET_STRINGTABLE_ENTRIES(3)
2
3
4

NAME

6       PCRE - Perl-compatible regular expressions
7

SYNOPSIS

9
10       #include <pcre.h>
11
12       int pcre_get_stringtable_entries(const pcre *code,
13            const char *name, char **first, char **last);
14

DESCRIPTION

16
17       This  convenience function finds, for a compiled pattern, the first and
18       last entries for a given name in the table  that  translates  capturing
19       parenthesis  names  into  numbers. When names are required to be unique
20       (PCRE_DUPNAMES  is  not   set),   it   is   usually   easier   to   use
21       pcre_get_stringnumber() instead.
22
23         code    Compiled regular expression
24         name    Name whose entries required
25         first   Where to return a pointer to the first entry
26         last    Where to return a pointer to the last entry
27
28       The   yield   of   the  function  is  the  length  of  each  entry,  or
29       PCRE_ERROR_NOSUBSTRING if none are found.
30
31       There is a complete description of the PCRE native API,  including  the
32       format  of the table entries, in the pcreapi page, and a description of
33       the POSIX API in the pcreposix page.
34
35
36
37                                               PCRE_GET_STRINGTABLE_ENTRIES(3)
Impressum