1 .TH PCRE2_SUBSTRING_LENGTH_BYNUMBER 3 "22 December 2014" "PCRE2 10.00"
3 PCRE2 - Perl-compatible regular expressions (revised API)
10 .B int pcre2_substring_length_bynumber(pcre2_match_data *\fImatch_data\fP,
11 .B " uint32_t \fInumber\fP, PCRE2_SIZE *\fIlength\fP);"
17 This function returns the length of a matched substring, identified by number.
20 \fImatch_data\fP The match data block for the match
21 \fInumber\fP The substring number
22 \fIlength\fP Where to return the length, or NULL
24 The third argument may be NULL if all you want to know is whether or not a
25 substring is set. The yield is zero on success, or a negative error code
26 otherwise. After a partial match, only substring 0 is available.
28 There is a complete description of the PCRE2 native API in the
32 page and a description of the POSIX API in the