xref: /aosp_15_r20/external/pcre/doc/pcre2_compile_context_create.3 (revision 22dc650d8ae982c6770746019a6f94af92b0f024)
PCRE2_COMPILE_CONTEXT_CREATE 3 "22 October 2014" "PCRE2 10.00"
NAME
PCRE2 - Perl-compatible regular expressions (revised API)
SYNOPSIS
.rs #include <pcre2.h>

 pcre2_compile_context *pcre2_compile_context_create(  " pcre2_general_context *gcontext);" 
.
DESCRIPTION
.rs This function creates and initializes a new compile context. If its argument is NULL, malloc() is used to get the necessary memory; otherwise the memory allocation function within the general context is used. The result is NULL if the memory could not be obtained.

There is a complete description of the PCRE2 native API in the HREF
pcre2api
page and a description of the POSIX API in the HREF
pcre2posix
page.