1PCRE2_MATCH_DATA_FREE(3) Library Functions Manual PCRE2_MATCH_DATA_FREE(3)
2
3
4
6 PCRE2 - Perl-compatible regular expressions (revised API)
7
9
10 #include <pcre2.h>
11
12 void pcre2_match_data_free(pcre2_match_data *match_data);
13
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 There is a complete description of the PCRE2 native API in the pcre2api
22 page and a description of the POSIX API in the pcre2posix page.
23
24
25
26PCRE2 10.32 28 June 2018 PCRE2_MATCH_DATA_FREE(3)