PCRE2_CONV...NTEXT_COPY(3)

okay bestie, this is PCRE2_CONV...NTEXT_COPY(3), and it lives in the Library Functions Manual β€” yes, the whole manual name is folded in right here, we’re cute like that πŸ’–.

πŸŽ€ NAME πŸŽ€

PCRE2 - Perl-compatible regular expressions (revised API)

✨ SYNOPSIS ✨

       #include <pcre2.h>

       pcre2_convert_context *pcre2_convert_context_copy(
         pcre2_convert_context *cvcontext);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function is part of an experimental set of pattern conversion functions β€” experimental, bestie, that’s the vibe check πŸ”₯.

It makes a new copy of a convert context, using the memory allocation function that was used for the original context. The result is NULL if the memory cannot be obtained 😭.

The pattern conversion functions are described in the pcre2convert documentation β€” that’s where the full lore lives πŸ“š.


okay bye bestie 🫢 this page is from PCRE2 10.47, dated 12 July 2017 β€” mwah πŸ’‹.

πŸ“¦ where this page comes from