blob: 84cdc6a58dde55ecae48de4ea19db3384c4ab7bc [file] [log] [blame]
.TH PCRE2_SUBSTRING_LENGTH_BYNAME 3 "21 October 2014" "PCRE2 10.00"
PCRE2 - Perl-compatible regular expressions (revised API)
.B #include <pcre2.h>
.B int pcre2_substring_length_byname(pcre2_match_data *\fImatch_data\fP,
.B " PCRE2_SPTR \fIname\fP, PCRE2_SIZE *\fIlength\fP);"
This function returns the length of a matched substring, identified by name.
The arguments are:
\fImatch_data\fP The match data block for the match
\fIname\fP The substring name
\fIlength\fP Where to return the length
The yield is zero on success, or an error code if the substring is not found.
There is a complete description of the PCRE2 native API in the
.\" HREF
page and a description of the POSIX API in the
.\" HREF