1PCRE2_SUBSTRING_FREE(3) Library Functions Manual PCRE2_SUBSTRING_FREE(3)
2
3
4
6 PCRE2 - Perl-compatible regular expressions (revised API)
7
9
10 #include <pcre2.h>
11
12 void pcre2_substring_free(PCRE2_UCHAR *buffer);
13
15
16 This is a convenience function for freeing the memory obtained by a
17 previous call to pcre2_substring_get_byname() or pcre2_sub‐
18 string_get_bynumber(). Its only argument is a pointer to the string. If
19 the argument is NULL, the function does nothing.
20
21 There is a complete description of the PCRE2 native API in the pcre2api
22 page and a description of the POSIX API in the pcre2posix page.
23
24
25
26PCRE2 10.32 28 June 2018 PCRE2_SUBSTRING_FREE(3)