diff options
Diffstat (limited to 'src/expressions.c')
-rw-r--r-- | src/expressions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expressions.c b/src/expressions.c index 215f63897..e86802a1f 100644 --- a/src/expressions.c +++ b/src/expressions.c @@ -500,7 +500,7 @@ parse_regexp (memory_pool_t *pool, char *line, gboolean raw_mode) { char *begin, *end, *p, *src; struct rspamd_regexp *result, *check; - int regexp_flags = 0; + int regexp_flags = G_REGEX_OPTIMIZE | G_REGEX_NO_AUTO_CAPTURE; GError *err = NULL; src = line; |