PCRE2_COMP...NTEXT_COPY(3)
π PCRE2_COMP...NTEXT_COPY(3) π
okay so bestie, this page is straight out of the Library Functions Manual β yes, the manual name is folded in right here β and itβs serving PCRE2 realness. Grab your iced coffee π, because weβre talking about pcre2_compile_context_copy, and itβs honestly iconic.
π NAME π
PCRE2 - Perl-compatible regular expressions (revised API)
π SYNOPSIS π
#include <pcre2.h>
pcre2_compile_context *pcre2_compile_context_copy(
pcre2_compile_context *ccontext);
πΈ DESCRIPTION πΈ
okay so this function makes a new copy of a compile context, and it uses the memory allocation function that was used for the original context. The result is NULL if the memory cannot be obtained β and yes, thatβs the whole mood. π
ngl, if you want the full lore, 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. iykyk β¨
xoxo, your favorite manpage bestie π β source/version vibes: PCRE2 10.47, dated 25 October 2014. π«Ά
π¦ 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