diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-23 18:20:01 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-23 18:20:01 +0400 |
commit | 7a29cf3785824ebcd4d92a55e7c384104808142f (patch) | |
tree | fd952fbf281ee5ff45aae0e49ad968ba624818a1 /src/expressions.c | |
parent | cfcde690c18f3b0be754115d50d666857ff60309 (diff) | |
download | rspamd-7a29cf3785824ebcd4d92a55e7c384104808142f.tar.gz rspamd-7a29cf3785824ebcd4d92a55e7c384104808142f.zip |
* Try to correctly read regexps
* Turn off perl support by default
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 7202a2b38..52b4bcef3 100644 --- a/src/expressions.c +++ b/src/expressions.c @@ -380,7 +380,7 @@ parse_expression (memory_pool_t *pool, char *line) if (!is_regexp_flag (*p) || *(p + 1) == '\0') { if (c != p) { /* Copy operand */ - if (*(p + 1) == '\0') { + if (*(p + 1) == '\0' || *p == '/') { p++; } str = memory_pool_alloc (pool, p - c + 1); |