PCRE2_CONV...TTERN_FREE(3)
π NAME π
Okay bestie, this page is PCRE2_CONV...TTERN_FREE(3) from the Library Functions Manual, and it's part of PCRE2 - Perl-compatible regular expressions (revised API). No cap.
β¨ SYNOPSIS β¨
#include <pcre2.h>
void pcre2_converted_pattern_free(PCRE2_UCHAR *converted_pattern);
π DESCRIPTION π
So this lil function is part of an experimental set of pattern conversion functions. (Experimental, bestie β that's the original's word, not me being dramatic.) It frees the memory occupied by a converted pattern that was obtained by calling pcre2_pattern_convert() with arguments that caused it to place the converted pattern into newly obtained heap memory.
π«Ά If the argument is NULL, the function returns immediately without doing anything. Iconic low-effort behavior, honestly.
The pattern conversion functions are described in the pcre2convert documentation. Go read that if you want the full conversion lore, iykyk.
Sign-off sparkle: this page is from PCRE2 10.47, dated 13 August 2018, and the title is PCRE2_CONV...TTERN_FREE(3). Bye bestie, slay your memory management π
β¨
π¦ where this page comes from
- fedora 43: pcre2-devel 10.47-1.fc43 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 43: pcre2-devel 10.47-1.fc43 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 44: pcre2-devel 10.47-1.fc44.1 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 44: pcre2-devel 10.47-1.fc44.1 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms