PCRE2_SET_...TER_TABLES(3)
π
PCRE2_SET_...TER_TABLES(3) π
okay so bestie, you opened the PCRE2_SET_...TER_TABLES(3) page, and yes β this is the Library Functions Manual corner of the Unix universe. Come sit with me, we're gonna get you comfy with this little icon. π«Άβ¨
β¨ NAME β¨
PCRE2 β Perl-compatible regular expressions (revised API) π
No cap, that's the whole name section. Short, sweet, iconic.
π SYNOPSIS π
#include <pcre2.h>
int pcre2_set_character_tables(pcre2_compile_context *ccontext,
const uint8_t *tables);
Look at that signature serving main-character energy. π
πΈ DESCRIPTION πΈ
So this function sets a pointer to custom character tables inside a compile context. That's the vibe. π
The second argument has to point to a set of PCRE2 character tables, or it can be NULL if you want to request the default tables. And the result? Always zero. Every time. No drama, no surprises, just 0. β¨
Character tables can be created by calling pcre2_maketables() β yes, that's the function bestie β or by running the pcre2_dftables maintenance command in binary mode (see the pcre2build documentation for that one, iykyk). π οΈπ¦
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 when you wanna go deeper. ππ
PCRE2 10.47 Β· 15 April 2020 Β· brought to you by the Library Functions Manual β mwah, go slay those character tables πππ
π¦ 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