From: Vsevolod Stakhov Date: Tue, 19 May 2015 15:56:27 +0000 (+0100) Subject: Revert automatic capture in regexps as it breaks things. X-Git-Tag: 0.9.3~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a075b9aea725718499521b2adf5a273bfb863b7d;p=rspamd.git Revert automatic capture in regexps as it breaks things. --- diff --git a/src/libutil/regexp.c b/src/libutil/regexp.c index 6bcdea67d..59201eb36 100644 --- a/src/libutil/regexp.c +++ b/src/libutil/regexp.c @@ -177,7 +177,6 @@ rspamd_regexp_new (const gchar *pattern, const gchar *flags, } rspamd_flags |= RSPAMD_REGEXP_FLAG_RAW; - regexp_flags |= PCRE_NO_AUTO_CAPTURE; regexp_flags &= ~PCRE_UTF8; if (flags_str != NULL) {