diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-19 16:56:27 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-19 16:56:27 +0100 |
commit | a075b9aea725718499521b2adf5a273bfb863b7d (patch) | |
tree | 16c99e1986f780a42d01e60ecfea99d0fcd35fe4 /src/libutil/regexp.c | |
parent | 5a32a554b894be22421b3d1cccfa9cb56a649e18 (diff) | |
download | rspamd-a075b9aea725718499521b2adf5a273bfb863b7d.tar.gz rspamd-a075b9aea725718499521b2adf5a273bfb863b7d.zip |
Revert automatic capture in regexps as it breaks things.
Diffstat (limited to 'src/libutil/regexp.c')
-rw-r--r-- | src/libutil/regexp.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) { |