Blame doc/html/pcre2_substring_length_bynumber.html
|
Packit Service |
02e2fd |
<html>
|
|
Packit Service |
02e2fd |
<head>
|
|
Packit Service |
02e2fd |
<title>pcre2_substring_length_bynumber specification</title>
|
|
Packit Service |
02e2fd |
</head>
|
|
Packit Service |
02e2fd |
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
|
Packit Service |
02e2fd |
pcre2_substring_length_bynumber man page
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
Return to the PCRE2 index page.
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
This page is part of the PCRE2 HTML documentation. It was generated
|
|
Packit Service |
02e2fd |
automatically from the original man page. If there is any nonsense in it,
|
|
Packit Service |
02e2fd |
please consult the man page, in case the conversion went wrong.
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
SYNOPSIS
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
#include <pcre2.h>
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
int pcre2_substring_length_bynumber(pcre2_match_data *match_data,
|
|
Packit Service |
02e2fd |
uint32_t number, PCRE2_SIZE *length);
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
DESCRIPTION
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
This function returns the length of a matched substring, identified by number.
|
|
Packit Service |
02e2fd |
The arguments are:
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
match_data The match data block for the match
|
|
Packit Service |
02e2fd |
number The substring number
|
|
Packit Service |
02e2fd |
length Where to return the length, or NULL
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
The third argument may be NULL if all you want to know is whether or not a
|
|
Packit Service |
02e2fd |
substring is set. The yield is zero on success, or a negative error code
|
|
Packit Service |
02e2fd |
otherwise. After a partial match, only substring 0 is available.
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
There is a complete description of the PCRE2 native API in the
|
|
Packit Service |
02e2fd |
pcre2api
|
|
Packit Service |
02e2fd |
page and a description of the POSIX API in the
|
|
Packit Service |
02e2fd |
pcre2posix
|
|
Packit Service |
02e2fd |
page.
|
|
Packit Service |
02e2fd |
|
|
Packit Service |
02e2fd |
Return to the PCRE2 index page.
|
|
Packit Service |
02e2fd |
|