Section (3) pcre2_match_context_copy
PCRE2 — Perl-compatible regular expressions (revised API)
#include <pcre2.h> pcre2_match_context *pcre2_match_context_copy( pcre2_match_context *
This function makes a new copy of a match context, using the memory allocation function that was used for the original context. The result is NULL if the memory cannot be obtained.
This manual page is taken from the PCRE library, which is distributed under the BSD license.