From: Adam Dickmeiss Date: Tue, 24 Sep 2002 19:44:20 +0000 (+0000) Subject: Escape ? for non-trunc searches X-Git-Tag: ZEBRA.1.3.3~10 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=d6c8724ed6eeb2625a6ee316f2130817a314fbe7;p=idzebra-moved-to-github.git Escape ? for non-trunc searches --- diff --git a/index/zrpn.c b/index/zrpn.c index 26100a0..37c0499 100644 --- a/index/zrpn.c +++ b/index/zrpn.c @@ -1,4 +1,4 @@ -/* $Id: zrpn.c,v 1.123 2002-09-18 21:01:15 adam Exp $ +/* $Id: zrpn.c,v 1.124 2002-09-24 19:44:20 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -279,7 +279,7 @@ static int term_pre (ZebraMaps zebra_maps, int reg_type, const char **src, return *s0; } -#define REGEX_CHARS " []()|.*+!" +#define REGEX_CHARS " []()|.*+?!" /* term_100: handle term, where trunc=none (no operators at all) */ static int term_100 (ZebraMaps zebra_maps, int reg_type,