new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / external / pcre2-10.32 / doc / pcre2_code_free.3
1 .TH PCRE2_CODE_FREE 3 "28 June 2018" "PCRE2 10.32"
2 .SH NAME
3 PCRE2 - Perl-compatible regular expressions (revised API)
4 .SH SYNOPSIS
5 .rs
6 .sp
7 .B #include <pcre2.h>
8 .PP
9 .nf
10 .B void pcre2_code_free(pcre2_code *\fIcode\fP);
11 .fi
12 .
13 .SH DESCRIPTION
14 .rs
15 .sp
16 If \fIcode\fP is NULL, this function does nothing. Otherwise, \fIcode\fP must
17 point to a compiled pattern. This function frees its memory, including any
18 memory used by the JIT compiler. If the compiled pattern was created by a call
19 to \fBpcre2_code_copy_with_tables()\fP, the memory for the character tables is
20 also freed.
21 .P
22 There is a complete description of the PCRE2 native API in the
23 .\" HREF
24 \fBpcre2api\fP
25 .\"
26 page and a description of the POSIX API in the
27 .\" HREF
28 \fBpcre2posix\fP
29 .\"
30 page.