X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Frpnsearch.c;h=b214aef5f8944cfb0980641399aa06bc6eed8b5f;hb=bdf0f406d66c4702c3b8942d1bb33a9212283138;hp=ff57c6882c10281d0b3ec8a08a6c9edd49e65009;hpb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;p=idzebra-moved-to-github.git diff --git a/index/rpnsearch.c b/index/rpnsearch.c index ff57c68..b214aef 100644 --- a/index/rpnsearch.c +++ b/index/rpnsearch.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2011 Index Data + Copyright (C) 2004-2013 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -204,7 +204,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,