blob: 56ed08bbf69857cab380dde9ccb9e3c45cfb530a [file] [log] [blame]
Elliott Hughes653c2102019-01-09 15:41:36 -08001.TH PCRE2_MATCH_DATA_FREE 3 "28 June 2018" "PCRE2 10.32"
Janis Danisevskis112c9cc2016-03-31 13:35:25 +01002.SH NAME
3PCRE2 - Perl-compatible regular expressions (revised API)
4.SH SYNOPSIS
5.rs
6.sp
7.B #include <pcre2.h>
8.PP
9.nf
10.B void pcre2_match_data_free(pcre2_match_data *\fImatch_data\fP);
11.fi
12.
13.SH DESCRIPTION
14.rs
15.sp
Elliott Hughes653c2102019-01-09 15:41:36 -080016If \fImatch_data\fP is NULL, this function does nothing. Otherwise,
17\fImatch_data\fP must point to a match data block, which this function frees,
18using the memory freeing function from the general context or compiled pattern
19with which it was created, or \fBfree()\fP if that was not set.
Janis Danisevskis112c9cc2016-03-31 13:35:25 +010020.P
21There is a complete description of the PCRE2 native API in the
22.\" HREF
23\fBpcre2api\fP
24.\"
25page and a description of the POSIX API in the
26.\" HREF
27\fBpcre2posix\fP
28.\"
29page.