PCRE2_SET_MATCH_LIMIT(3)
π NAME π
PCRE2 β literally the Perl-compatible regular expressions library, but the revised API version π¦ (yes bestie, "revised" is doing a lot of work in that sentence, it just means the newer, glowier API).
β¨ SYNOPSIS β¨
#include <pcre2.h>
int pcre2_set_match_limit(pcre2_match_context *mcontext,
uint32_t value);
π DESCRIPTION π
Okay so picture this: you've got a match context, right? And this function? It sets the match limit field inside that match context. That's it. That's the whole job. π
And the result β the return value β is always zero. Every time. No cap. Zero. It's giving "I have one (1) consistent mood and it is 'success'" πβ¨
fr fr, if you want the full lore, there's a complete description of the PCRE2 native API over in thepcre2apipage, and a description of the POSIX API in thepcre2posixpage. go read those besties, they ate π
that's the whole page, i fear β short and iconic π«Ά
sign-off time π: this masterpiece comes to you from PCRE2 10.47, dated 25 October 2014 β an absolute vintage moment, lowkey a throwback classic πβ¨
π¦ 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