]> source.dussan.org Git - rspamd.git/commitdiff
Revert automatic capture in regexps as it breaks things.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 May 2015 15:56:27 +0000 (16:56 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 May 2015 15:56:27 +0000 (16:56 +0100)
src/libutil/regexp.c

index 6bcdea67ddc4e96fde25b4d253a0aa181e9a6cb4..59201eb364c02f83ec5e551f0313bfb41f7baf3c 100644 (file)
@@ -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) {