PCRE2_GENE...NTEXT_FREE(3)

πŸ’– NAME πŸ’–

PCRE2 β€” Perl-compatible regular expressions (revised API)

okay bestie, this is a page from the PCRE2 manual, and the whole vibe is β€œPerl-compatible regular expressions (revised API).” slay ✨

✨ SYNOPSIS ✨

#include <pcre2.h>

void pcre2_general_context_free(pcre2_general_context *gcontext);

πŸŽ€ DESCRIPTION πŸŽ€

So pcre2_general_context_free() frees the memory occupied by a general context. It does that by using the memory freeing function within the context, if set. If the argument is NULL, the function returns immediately without doing anything. literally nothing, not a single thing πŸ™ˆ

For the full tea: 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. iykyk πŸ’…


mwah πŸ’‹ this page is from PCRE2 10.47, dated 28 June 2018 β€” cute little sign-off, no cap 🫢

πŸ“¦ where this page comes from