Files
pcre2/doc/pcre2_substring_free.3
2025-08-28 10:39:03 +00:00

30 lines
705 B
Groff

.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.