summaryrefslogtreecommitdiffstats
path: root/src/libutil/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-23 15:26:37 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-23 15:26:37 +0100
commit43c18e6f521ff51cb60b1e502a5e00ce027752cd (patch)
tree05980ac6bbba1323e8e54c4f289d44356bc1459b /src/libutil/regexp.c
parent634e405403b35e1055efb4cf4f6b21e516f9e521 (diff)
downloadrspamd-43c18e6f521ff51cb60b1e502a5e00ce027752cd.tar.gz
rspamd-43c18e6f521ff51cb60b1e502a5e00ce027752cd.zip
[Fix] Fix UTF8 mode in PCRE2
Diffstat (limited to 'src/libutil/regexp.c')
-rw-r--r--src/libutil/regexp.c2
1 files changed, 0 insertions, 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);