1PCRE2_SUBSTRING_LENGTH_BYNAMLEi(b3r)ary Functions MaPnCuRaEl2_SUBSTRING_LENGTH_BYNAME(3)
2
3
4
6 PCRE2 - Perl-compatible regular expressions (revised API)
7
9
10 #include <pcre2.h>
11
12 int pcre2_substring_length_byname(pcre2_match_data *match_data,
13 PCRE2_SPTR name, PCRE2_SIZE *length);
14
16
17 This function returns the length of a matched substring, identified by
18 name. The arguments are:
19
20 match_data The match data block for the match
21 name The substring name
22 length Where to return the length
23
24 The yield is zero on success, or an error code if the substring is not
25 found.
26
27 There is a complete description of the PCRE2 native API in the pcre2api
28 page and a description of the POSIX API in the pcre2posix page.
29
30
31
32PCRE2 10.00 21 October 2014PCRE2_SUBSTRING_LENGTH_BYNAME(3)