PCRE2_COMP...EXT_CREATE(3)

🌸 NAME 🌸

okay so bestie, this page is PCRE2_COMP...EXT_CREATE(3) from the Library Functions Manual, and it's serving PCRE2 β€” Perl-compatible regular expressions (revised API). that's the name, periodt πŸ’…

✨ SYNOPSIS ✨

#include <pcre2.h>

pcre2_compile_context *pcre2_compile_context_create(
  pcre2_general_context *gcontext);

πŸ’– DESCRIPTION πŸ’–

This function creates and initializes a brand-new compile context. slay ✨

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 β€” no cap, that's just the vibe check failing 😭

There's a complete description of the PCRE2 native API in the pcre2api page, and a description of the POSIX API in the pcre2posix page. go read those for the full lore 🫢


source/version: PCRE2 10.47 β€” date: 25 October 2014 πŸ’– bye bestie, you ate πŸ’…πŸŽ€

πŸ“¦ where this page comes from