PCRE_FREE_SUBSTRING(3)
π PCRE_FREE_SUBSTRING(3) π
okay so bestie, this is the PCRE_FREE_SUBSTRING(3) page from the Library Functions Manual, and it's giving "how do I free that substring I got earlier?" energy. no cap, it's short but important. Let's get into it. π¦
β¨ NAME β¨
PCRE - Perl-compatible regular expressions. periodt. π
πΈ SYNOPSIS πΈ
#include <pcre.h>
void pcre_free_substring(const char *stringptr);
void pcre16_free_substring(PCRE_SPTR16 stringptr);
void pcre32_free_substring(PCRE_SPTR32 stringptr);
π DESCRIPTION π
This function is literally a convenience function, bestie. It frees the store that you got from a previous call to pcre[16|32]_get_substring() or pcre[16|32]_get_named_substring(). That's the whole vibe.
Its only argument is a pointer to the string. one arg, no drama, we love that. π
There's a complete description of the PCRE native API in the pcreapi page, and a description of the POSIX API in the pcreposix page. go read those if you need the full tea. π«Ά
okurrr, that's the whole page! it's from PCRE 8.30, dated 24 June 2012, and it's the PCRE_FREE_SUBSTRING(3) manual. mwah, bye bestie! πβ¨
π¦ where this page comes from
- alpine 3.22: pcre-doc 8.45-r4 Β· BSD-3-Clause
- alpine 3.23: pcre-doc 8.45-r4 Β· BSD-3-Clause
- alpine 3.24: pcre-doc 8.45-r4 Β· BSD-3-Clause
- arch rolling: pcre 8.45-5 Β· BSD
- centos-stream 9: pcre-devel 8.44-4.el9 Β· BSD
- centos-stream 9: pcre-devel 8.44-4.el9 Β· BSD
- debian bookworm: libpcre3-dev 2:8.39-15
- fedora 43: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 43: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 44: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 44: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- nixos 26.05: pcre 8.45
- nixos 26.05: pcre-cpp 8.45
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: libpcre3-dev 2:8.39-13build5
- ubuntu jammy: libpcre3-dev 2:8.39-13ubuntu0.22.04.1
- ubuntu noble: libpcre3-dev 2:8.39-15build1
- ubuntu questing: libpcre3-dev 2:8.39-15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms