PCRE2_SET_PARENS_NEST_LIMIT(3)

🌸 NAME 🌸

okay bestie, welcome to the Library Functions Manual page for PCRE2_SET_PARENS_NEST_LIMIT(3) β€” that's the title, and the name line is literally: PCRE2 - Perl-compatible regular expressions (revised API) πŸ’–

✨ SYNOPSIS ✨

#include <pcre2.h>

int pcre2_set_parens_nest_limit(pcre2_compile_context *ccontext,
  uint32_t value);

πŸŽ€ DESCRIPTION πŸŽ€

so this function sets the maximum depth of nested parentheses in a pattern, and it does that in a compile context. that's the vibe. πŸ’…

the result is always zero (0) β€” every time, no cap. 🫢

there's a complete description of the PCRE2 native API in the pcre2api page, and a description of the POSIX API in the pcre2posix page. go off, bestie 🌈


mwah πŸ’– this was PCRE2 10.47, dated 25 October 2014, and you've been reading the PCRE2_SET_..._NEST_LIMIT(3) manual page. slay ✨

πŸ“¦ where this page comes from