1PCRE2_MATCH_DATA_FREE(3)   Library Functions Manual   PCRE2_MATCH_DATA_FREE(3)
2
3
4

NAME

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

SYNOPSIS

9
10       #include <pcre2.h>
11
12       void pcre2_match_data_free(pcre2_match_data *match_data);
13

DESCRIPTION

15
16       If   match_data   is  NULL,  this  function  does  nothing.  Otherwise,
17       match_data must point to a match data block, which this function frees,
18       using  the memory freeing function from the general context or compiled
19       pattern with which it was created, or free() if that was not set.
20
21       If the PCRE2_COPY_MATCHED_SUBJECT was used for a successful match using
22       this match data block, the copy of the subject that was remembered with
23       the block is also freed.
24
25       There is a complete description of the PCRE2 native API in the pcre2api
26       page and a description of the POSIX API in the pcre2posix page.
27
28
29
30PCRE2 10.33                     16 October 2018       PCRE2_MATCH_DATA_FREE(3)
Impressum