Hi, One further thing, I note that the next upstream version of pcre2 will do
PCRE2POSIX_EXP_DECL int pcre2_regcomp(regex_t *, const char *, int);
PCRE2POSIX_EXP_DECL int regcomp(regex_t *, const char *, int);
and in the .c file:
PCRE2POSIX_EXP_DEFN int PCRE2_CALL_CONVENTION
regcomp(regex_t *preg, const char *pattern, int cflags)
{
return pcre2_regcomp(preg, pattern, cflags);
}
See
https://bugs.exim.org/show_bug.cgi?id=1830#c20
Regards,
Matthew

