aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-19 16:56:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-19 16:56:27 +0100
commita075b9aea725718499521b2adf5a273bfb863b7d (patch)
tree16c99e1986f780a42d01e60ecfea99d0fcd35fe4 /src/libutil/regexp.c
parent5a32a554b894be22421b3d1cccfa9cb56a649e18 (diff)
downloadrspamd-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.c1
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) {