1PCRE2_MATCH_CONTEXT_CREATE(3L)ibrary Functions ManuaPlCRE2_MATCH_CONTEXT_CREATE(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_create(
13 pcre2_general_context *gcontext);
14
16
17 This function creates and initializes a new match context. If its argu‐
18 ment is NULL, malloc() is used to get the necessary memory; otherwise
19 the memory allocation function within the general context is used. The
20 result is NULL if the memory could not be obtained.
21
22 There is a complete description of the PCRE2 native API in the pcre2api
23 page and a description of the POSIX API in the pcre2posix page.
24
25
26
27PCRE2 10.00 22 October 2014 PCRE2_MATCH_CONTEXT_CREATE(3)