PCRE_GET_STRINGTABLE_ENTRIESL(i3b)rary Functions ManPuCaRlE_GET_STRINGTABLE_ENTRIES(3) NNAAMMEE PCRE - Perl-compatible regular expressions SSYYNNOOPPSSIISS ##iinncclluuddee <
> iinntt ppccrree__ggeett__ssttrriinnggttaabbllee__eennttrriieess((ccoonnsstt ppccrree **_c_o_d_e,, ccoonnsstt cchhaarr **_n_a_m_e,, cchhaarr ****_f_i_r_s_t,, cchhaarr ****_l_a_s_t));; iinntt ppccrree1166__ggeett__ssttrriinnggttaabbllee__eennttrriieess((ccoonnsstt ppccrree1166 **_c_o_d_e,, PPCCRREE__SSPPTTRR1166 _n_a_m_e,, PPCCRREE__UUCCHHAARR1166 ****_f_i_r_s_t,, PPCCRREE__UUCCHHAARR1166 ****_l_a_s_t));; iinntt ppccrree3322__ggeett__ssttrriinnggttaabbllee__eennttrriieess((ccoonnsstt ppccrree3322 **_c_o_d_e,, PPCCRREE__SSPPTTRR3322 _n_a_m_e,, PPCCRREE__UUCCHHAARR3322 ****_f_i_r_s_t,, PPCCRREE__UUCCHHAARR3322 ****_l_a_s_t));; DDEESSCCRRIIPPTTIIOONN This convenience function finds, for a compiled pattern, the first and last entries for a given name in the table that translates capturing parenthesis names into numbers. When names are required to be unique (PCRE_DUPNAMES is _n_o_t set), it is usually easier to use ppccrree[[1166||3322]]__ggeett__ssttrriinnggnnuummbbeerr(()) instead. _c_o_d_e Compiled regular expression _n_a_m_e Name whose entries required _f_i_r_s_t Where to return a pointer to the first entry _l_a_s_t Where to return a pointer to the last entry The yield of the function is the length of each entry, or PCRE_ERROR_NOSUBSTRING if none are found. There is a complete description of the PCRE native API, including the format of the table entries, in the ppccrreeaappii page, and a description of the POSIX API in the ppccrreeppoossiixx page. PCRE 8.30 24 June 2012 PCRE_GET_STRINGTABLE_ENTRIES(3)