1PCRE2_MATCH_CONTEXT_COPY(3)Library Functions ManualPCRE2_MATCH_CONTEXT_COPY(3)
2
3
4
6 PCRE2 - Perl-compatible regular expressions (revised API)
7
9
10 #include <pcre2.h>
11
12 pcre2_match_context *pcre2_match_context_copy(
13 pcre2_match_context *mcontext);
14
16
17 This function makes a new copy of a match context, using the memory
18 allocation function that was used for the original context. The result
19 is NULL if the memory cannot be obtained.
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.00 22 October 2014 PCRE2_MATCH_CONTEXT_COPY(3)