PCRE\_FREE\_SUBSTRING(3) Library Functions Manual PCRE\_FREE\_SUBSTRING(3)

# [NAME](#NAME)

PCRE - Perl-compatible regular expressions

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;pcre.h&gt;**

**void pcre\_free\_substring(const char \**stringptr*);**

**void pcre16\_free\_substring(PCRE\_SPTR16 *stringptr*);**

**void pcre32\_free\_substring(PCRE\_SPTR32 *stringptr*);**

# [DESCRIPTION](#DESCRIPTION)

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.

24 June 2012 PCRE 8.30

---

Document: pcre16_free_substring(3) from pcre 8.45-r11 (Chainguard OS)
Source: https://downloads.sourceforge.net/project/pcre/pcre/8.45/pcre-8.45.tar.bz2
