PCRE2_MATC...EXT_CREATE(3)
πΈ NAME πΈ
okay bestie, welcome to the PCRE2_MATC...EXT_CREATE(3) page from the Library Functions Manual β and the NAME is literally:
PCRE2 - Perl-compatible regular expressions (revised API) π
β¨ SYNOPSIS β¨
the whole summoning spell is right here:
#include <pcre2.h>
pcre2_match_context *pcre2_match_context_create(
pcre2_general_context *gcontext);
π¦ DESCRIPTION π¦
so pcre2_match_context_create() creates and initializes a fresh new match context β iconic behavior, honestly π.
if its argument is NULL, malloc() is used to get the necessary memory; otherwise, the memory allocation function within the general context is used π«Ά.
and if the memory could not be obtained? the result is NULL β that's the whole story, no cap π.
for the full lore: there is a complete description of the PCRE2 native API in the pcre2api page, and a description of the POSIX API in the pcre2posix page π.
mwah π β source/version is PCRE2 10.47, dated 25 October 2014. bye bestie, go create that context π
π¦ where this page comes from
- fedora 43: pcre2-devel 10.47-1.fc43 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 43: pcre2-devel 10.47-1.fc43 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 44: pcre2-devel 10.47-1.fc44.1 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 44: pcre2-devel 10.47-1.fc44.1 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms