pcre_free_substring(3)

pcre_free_substring3

Perl-compatible regular expressions

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

11 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1–6.0
  2. 7
  3. 8–Arch

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