blob: 38c8cabe3bd11fc262e24f13dc4e7a574a269c98 [file] [log] [blame]
.TH PCRE2_SUBSTRING_FREE 3 "26 February 2025" "PCRE2 10.47-DEV"
.SH NAME
PCRE2 - Perl-compatible regular expressions (revised API)
.SH SYNOPSIS
.rs
.sp
.B #include <pcre2.h>
.PP
.nf
.B void pcre2_substring_free(PCRE2_UCHAR *\fIbuffer\fP);
.fi
.
.SH DESCRIPTION
.rs
.sp
This is a convenience function for freeing the memory obtained by a previous
call to \fBpcre2_substring_get_byname()\fP or
\fBpcre2_substring_get_bynumber()\fP. Its only argument is a pointer to the
string. If the argument is NULL, the function does nothing.
.P
There is a complete description of the PCRE2 native API in the
.\" HREF
\fBpcre2api\fP
.\"
page and a description of the POSIX API in the
.\" HREF
\fBpcre2posix\fP
.\"
page.