PCRE2_SET_HEAP_LIMIT(3)
okay so bestie, welcome to the Library Functions Manual page for PCRE2_SET_HEAP_LIMIT(3) β the title and manual name are folded right here at the top, no boring header clone, we're slaying π
β¨
π NAME π
PCRE2 β Perl-compatible regular expressions (revised API) π¦
π SYNOPSIS π
#include <pcre2.h>
int pcre2_set_heap_limit(pcre2_match_context *mcontext,
uint32_t value);
That's the exact call, periodt. The include is <pcre2.h>, the function is pcre2_set_heap_limit, and it takes a pcre2_match_context *mcontext plus a uint32_t value πΈ
β¨ DESCRIPTION β¨
This function sets the backtracking heap limit field in a match context. That's it, that's the whole assignment. The result is always zero β not sometimes, not "depends," literally always zero, no cap ππ
There is a complete description of the PCRE2 native API in the pcre2api page, and a description of the POSIX API in the pcre2posix page. If you need the full lore, those are the two pages to check, iykyk ππ¦
π Cute little sign-off: this page is from PCRE2 10.47, dated 17 June 2018, and it's filed under PCRE2_SET_HEAP_LIMIT(3) β bye bestie, go set that heap limit! πβ¨
π¦ 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