blob: 6d0fd58898f63d88b66eca4d8d287082230aaa40 [file] [log] [blame]
Elliott Hughes653c2102019-01-09 15:41:36 -08001.TH PCRE2_SUBSTRING_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.SM
10.B void pcre2_substring_free(PCRE2_UCHAR *\fIbuffer\fP);
11.
12.SH DESCRIPTION
13.rs
14.sp
15This is a convenience function for freeing the memory obtained by a previous
16call to \fBpcre2_substring_get_byname()\fP or
17\fBpcre2_substring_get_bynumber()\fP. Its only argument is a pointer to the
Elliott Hughes653c2102019-01-09 15:41:36 -080018string. If the argument is NULL, the function does nothing.
Janis Danisevskis112c9cc2016-03-31 13:35:25 +010019.P
20There is a complete description of the PCRE2 native API in the
21.\" HREF
22\fBpcre2api\fP
23.\"
24page and a description of the POSIX API in the
25.\" HREF
26\fBpcre2posix\fP
27.\"
28page.