From 0eeb4824b5f7126a613b69253d5a34a6e3052969 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 23 Apr 2016 15:26:37 +0100 Subject: [PATCH] [Fix] Fix UTF8 mode in PCRE2 --- src/libutil/regexp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libutil/regexp.c b/src/libutil/regexp.c index 1a097c5b3..b6adce55f 100644 --- a/src/libutil/regexp.c +++ b/src/libutil/regexp.c @@ -701,8 +701,6 @@ rspamd_regexp_search (rspamd_regexp_t *re, const gchar *text, gsize len, else { r = re->re; mcontext = re->mcontext; - match_flags |= PCRE_FLAG(UTF); - } match_data = pcre2_match_data_create (re->ncaptures + 1, NULL); -- 2.39.5