PCRE2_MATCH_CONTEXT_FREE(3)

πŸ’… PCRE2_MATCH_CONTEXT_FREE(3) πŸ’…

okay bestie, welcome to the Library Functions Manual page for PCRE2 β€” Perl-compatible regular expressions (revised API) ✨


🌸 NAME 🌸

PCRE2 β€” Perl-compatible regular expressions (revised API) πŸ’–

✨ SYNOPSIS ✨

#include <pcre2.h>

void pcre2_match_context_free(pcre2_match_context *mcontext);

πŸ¦‹ DESCRIPTION πŸ¦‹

So this function frees the memory occupied by a match context, bestie. It uses the memory freeing function from the general context with which it was created, or free() if that was not set. No cap πŸ’…

If the argument is NULL, the function returns immediately without doing anything. Like, zero side quests, zero drama 🫢

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. Go read those for the full lore πŸ‘‘


🫢 signed, sealed, delivered: PCRE2 10.47 · 28 June 2018 · PCRE2_MATCH_CONTEXT_FREE(3) 🫢

πŸ“¦ where this page comes from