Extend REGEX_CHARS with more "reserved" regex chars.
[idzebra-moved-to-github.git] / index / rpnsearch.c
index 18bef0b..c433c97 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: rpnsearch.c,v 1.28 2007-12-10 17:06:08 adam Exp $
+/* $Id: rpnsearch.c,v 1.30 2008-01-26 15:32:05 adam Exp $
    Copyright (C) 1995-2007
    Index Data ApS
 
@@ -206,7 +206,7 @@ static void esc_str(char *out_buf, size_t out_size,
     }
 }
 
-#define REGEX_CHARS " []()|.*+?!"
+#define REGEX_CHARS " []()|.*+?!\\\"$"
 
 static void add_non_space(const char *start, const char *end,
                           WRBUF term_dict,