PCRE2_GET_...RAMES_SIZE(3)

✨ PCRE2_GET_...RAMES_SIZE(3) ✨

okay bestie, welcome to the Library Functions Manual corner of the PCRE2 universe πŸ’… the title up top is PCRE2_GET_...RAMES_SIZE(3), and we're about to make this tiny function make sense.

🌸 NAME 🌸

PCRE2 β€” Perl-compatible regular expressions (revised API). That's the whole name vibe: revised API, no cap. πŸ¦‹

✨ SYNOPSIS ✨

#include <pcre2.h>

PCRE2_SIZE pcre2_get_match_data_heapframes_size(
  pcre2_match_data *match_data);

πŸŽ€ DESCRIPTION πŸŽ€

So this function returns the size, in bytes, of the heapframes data block that is owned by its argument. That's it. That's the whole function. It's giving tiny-but-useful. πŸ’–

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 read those if you want the full lore. πŸ‘‘


source/version and date: this page is from PCRE2 10.47, dated 18 January 2023. Mwah πŸ’‹

πŸ“¦ where this page comes from