diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-14 13:43:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-14 13:43:28 +0100 |
commit | 2d18d5d8b0648079532e16a95028e5faea973f13 (patch) | |
tree | e10fc15847635398891b9cffd5d64f6db96783c6 /src/libutil/expression.c | |
parent | 43ed41fdd22d283e5d1939116c8270d07b49cf35 (diff) | |
download | rspamd-2d18d5d8b0648079532e16a95028e5faea973f13.tar.gz rspamd-2d18d5d8b0648079532e16a95028e5faea973f13.zip |
Really use pcre jit...
Diffstat (limited to 'src/libutil/expression.c')
-rw-r--r-- | src/libutil/expression.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/expression.c b/src/libutil/expression.c index 9acef5e86..d8ed54bcd 100644 --- a/src/libutil/expression.c +++ b/src/libutil/expression.c @@ -491,7 +491,7 @@ rspamd_parse_expression (const gchar *line, gsize len, } memset (&elt, 0, sizeof (elt)); - num_re = rspamd_regexp_cache_create (NULL, "/^\\d+(\\s+|[)]|$)/", NULL, NULL); + num_re = rspamd_regexp_cache_create (NULL, "/^\\d+(?:\\s+|[)]|$)/", NULL, NULL); p = line; c = line; |