Port to the pcre2 library.

This commit is contained in:
2023-05-17 16:27:47 +02:00
parent 55aa25eca3
commit e5409a897d
10 changed files with 56 additions and 49 deletions

View File

@@ -146,11 +146,11 @@ scan_mailbox (char path[])
if (msg->from == NULL)
msg->from = (char *) xstrdup ("nobody");
#ifdef HAVE_LIBPCRE
#ifdef HAVE_LIBPCRE2
if (config.regextype == REGEX_PERL)
pcre_match (msg);
else
#endif /* HAVE_LIBPCRE */
#endif /* HAVE_LIBPCRE2 */
regex_match (msg);
if (config.dedup)