blob: aea118756e3c48e39ac18fb28444a4e371467e80 [file] [log] [blame]
Janis Danisevskis112c9cc2016-03-31 13:35:25 +01001.TH PCRE2_COMPILE_CONTEXT_COPY 3 "22 October 2014" "PCRE2 10.00"
2.SH NAME
3PCRE2 - Perl-compatible regular expressions (revised API)
4.SH SYNOPSIS
5.rs
6.sp
7.B #include <pcre2.h>
8.PP
9.nf
10.B pcre2_compile_context *pcre2_compile_context_copy(
11.B " pcre2_compile_context *\fIccontext\fP);"
12.fi
13.
14.SH DESCRIPTION
15.rs
16.sp
17This function makes a new copy of a compile context, using the memory
18allocation function that was used for the original context. The result is NULL
19if the memory cannot be obtained.
20.P
21There is a complete description of the PCRE2 native API in the
22.\" HREF
23\fBpcre2api\fP
24.\"
25page and a description of the POSIX API in the
26.\" HREF
27\fBpcre2posix\fP
28.\"
29page.