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 thepcre2apipage, and the POSIX API gets its whole own moment in thepcre2posixpage. 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
- 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