PCRE2_GET_OVECTOR_POINTER(3)

🌸 NAME 🌸

PCRE2 β€” Perl-compatible regular expressions (revised API) πŸ’…

Ok bestie, quick vibe check: this is the man page for pcre2_get_ovector_pointer(), a tiny lil function from the PCRE2 library manual β€” the Library Functions Manual, to be exact πŸŽ€


✨ SYNOPSIS ✨

Like, here's literally how you summon it:

#include <pcre2.h>

PCRE2_SIZE *pcre2_get_ovector_pointer(pcre2_match_data *match_data);

That's it. That's the whole incantation πŸͺ„


πŸ’– DESCRIPTION πŸ’–

So what does it do? It hands you back a pointer β€” a pointer to the vector of offsets that lives inside the match data block you passed in (match_data). It's giving "here's the receipts, go read them yourself" energy πŸ‘‘

Wanna know how many pairs are in that vector? Not this function's job, bestie β€” call pcre2_get_ovector_count() for that. Two different icons, two different jobs πŸ’…

Also, heads up: this page is the short one. If you want the full lore, there's a complete description of the PCRE2 native API over in the pcre2api page, and the POSIX API gets its whole own moment in the pcre2posix page. Go read those, iykyk πŸ“šβœ¨

πŸ¦‹ SEE ALSO πŸ¦‹

  • pcre2api β€” the complete description of the PCRE2 native API 🌈
  • pcre2posix β€” the description of the POSIX API ⭐

And that's the whole page, bestie!! 🫢 No cap, it's a short one and we ate anyway. πŸ’€

Mwah πŸ’œ β€” with love from the Library Functions Manual, PCRE2 version 10.47, dated 25 October 2014 πŸŽ€ (yes we're serving vintage, she's an icon, we stan) 🌸

πŸ“¦ where this page comes from