pcre2_maketables_free(3)

pcre2_maketables_free3

Perl-compatible regular expressions (revised api)

Usage

#include <pcre2.h>

void pcre2_maketables_free(pcre2_general_context *gcontext,
  const uint8_t *tables);

Overview

This function discards a set of character tables that were created by a call to pcre2_maketables().

The gcontext parameter should match what was used in that call to account for any custom allocators that might be in use; if it is NULL the system free() is used.

There is a complete description of the PCRE2 native API in the pcre2api page.

Releases

4 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11–12
  2. 13
  3. Arch

From pcre2 10.49-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.