PCRE2_SET_OFFSET_LIMIT(3)

PCRE2_SET_OFFSET_LIMIT(3) πŸ’…

okay bestie, welcome to the Library Functions Manual page for PCRE2_SET_OFFSET_LIMIT(3) β€” yes, that's the manual name, and we're literally about to get into it. 🫢


🌸 NAME 🌸

  • PCRE2 β€” Perl-compatible regular expressions (revised API)

✨ SYNOPSIS ✨

       #include <pcre2.h>

       int pcre2_set_offset_limit(pcre2_match_context *mcontext,
         PCRE2_SIZE value);

πŸ’– DESCRIPTION πŸ’–

So this function sets the offset limit field in a match context. That's the whole move. The result? Always zero. Not "maybe zero," not "zero if the stars align" β€” always zero. πŸŽ€

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. iykyk ✨


with all the love and glitter: PCRE2 10.47, dated 22 September 2015 πŸ«ΆπŸ’–

πŸ“¦ where this page comes from