summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2ff967a)
For some ICU versions (4.0.1, possibly others) the normalized term
may include a caret (^) in it and so this chracter must also be
escaped before turned into a regular expression.
-#define REGEX_CHARS " []()|.*+?!\"$"
+#define REGEX_CHARS " ^[]()|.*+?!\"$"
static void add_non_space(const char *start, const char *end,
WRBUF term_dict,
static void add_non_space(const char *start, const char *end,
WRBUF term_dict,