1PCRE2_SUBSTRING_LENGTH_BYNUMLBiEbRr(a3r)y FunctionsPMCaRnEu2a_lSUBSTRING_LENGTH_BYNUMBER(3)
2
3
4

NAME

6       PCRE2 - Perl-compatible regular expressions (revised API)
7

SYNOPSIS

9
10       #include <pcre2.h>
11
12       int pcre2_substring_length_bynumber(pcre2_match_data *match_data,
13         uint32_t number, PCRE2_SIZE *length);
14

DESCRIPTION

16
17       This  function returns the length of a matched substring, identified by
18       number.  The arguments are:
19
20         match_data   The match data block for the match
21         number       The substring number
22         length       Where to return the length, or NULL
23
24       The third argument may be NULL if all you want to know  is  whether  or
25       not  a  substring  is  set. The yield is zero on success, or a negative
26       error code otherwise. After a partial match, only substring 0 is availā€
27       able.
28
29       There is a complete description of the PCRE2 native API in the pcre2api
30       page and a description of the POSIX API in the pcre2posix page.
31
32
33
34PCRE2 10.00                    22 December 20P1C4RE2_SUBSTRING_LENGTH_BYNUMBER(3)
Impressum