From 77cff375a07ba41b00c37baff72111f0b21ba9ae Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 23 Apr 2009 18:22:38 +0400 Subject: [PATCH] * Another try --- src/expressions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expressions.c b/src/expressions.c index 52b4bcef3..ba24ae252 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' || *p == '/') { + if (*(p + 1) == '\0' || *(p - 1) == '/') { p++; } str = memory_pool_alloc (pool, p - c + 1); -- 2.39.5