.TH PCRE2_SUBSTRING_FREE 3 "28 June 2018" "PCRE2 10.32" .SH NAME PCRE2 - Perl-compatible regular expressions (revised API) .SH SYNOPSIS .rs .sp .B #include .PP .SM .B void pcre2_substring_free(PCRE2_UCHAR *\fIbuffer\fP); . .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.