PCRE2_GET_STARTCHAR(3) Library Functions Manual PCRE2_GET_STARTCHAR(3) NNAAMMEE PCRE2 - Perl-compatible regular expressions (revised API) SSYYNNOOPPSSIISS ##iinncclluuddee <> PPCCRREE22__SSIIZZEE ppccrree22__ggeett__ssttaarrttcchhaarr((ppccrree22__mmaattcchh__ddaattaa **_m_a_t_c_h___d_a_t_a));; DDEESSCCRRIIPPTTIIOONN After a successful call of ppccrree22__mmaattcchh(()) that was passed the match block that is this function's argument, this function returns the code unit offset of the character at which the successful match started. For a non-partial match, this can be different to the value of _o_v_e_c_t_o_r_[_0_] if the pattern contains the \K escape sequence. After a partial match, however, this value is always the same as _o_v_e_c_t_o_r_[_0_] because \K does not affect the result of a partial match. There is a complete description of the PCRE2 native API in the ppccrree22aappii page and a description of the POSIX API in the ppccrree22ppoossiixx page. PCRE2 10.00 24 October 2014 PCRE2_GET_STARTCHAR(3)