pcre32_free_substring(3)

pcre32_free_substring3

Perl-compatible regular expressions

Part of pcre_free_substring(3).

Usage

#include <pcre.h>

void pcre_free_substring(const char *stringptr);

void pcre16_free_substring(PCRE_SPTR16 stringptr);

void pcre32_free_substring(PCRE_SPTR32 stringptr);

Overview

This is a convenience function for freeing the store obtained by a previous call to pcre[16|32]_get_substring() or pcre[16|32]_get_named_substring(). Its only argument is a pointer to the string.

There is a complete description of the PCRE native API in the pcreapi page and a description of the POSIX API in the pcreposix page.

Releases

Unchanged in 6 releases since Debian 8 (Jessie).

  1. 8–Arch

From pcre 8.45-5 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.