1PCRE2_SET_SUBSTITUTE_CALLOUTL(i3b)rary Functions ManPuCaRlE2_SET_SUBSTITUTE_CALLOUT(3)
2
3
4
6 PCRE2 - Perl-compatible regular expressions (revised API)
7
9
10 #include <pcre2.h>
11
12 int pcre2_set_substitute_callout(pcre2_match_context *mcontext,
13 int (*callout_function)(pcre2_substitute_callout_block *),
14 void *callout_data);
15
17
18 This function sets the substitute callout fields in a match context
19 (the first argument). The second argument specifies a callout function,
20 and the third argument is an opaque data item that is passed to it. The
21 result of this function is always zero.
22
23 There is a complete description of the PCRE2 native API in the pcre2api
24 page and a description of the POSIX API in the pcre2posix page.
25
26
27
28PCRE2 10.33 12 November 2018PCRE2_SET_SUBSTITUTE_CALLOUT(3)