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 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); |