struct fts_filter_normalizer_icu *np;
pool_t pp;
unsigned int i;
- const char *id = "Any-Lower; NFKD; [: Nonspacing Mark :] Remove; NFC";
+ const char *id = "Any-Lower; NFKD; [: Nonspacing Mark :] Remove; NFC; [\\x20] Remove";
for (i = 0; settings[i] != NULL; i += 2) {
const char *key = settings[i], *value = settings[i+1];
"vem",
"a",
"aao",
- "vem kan segla forutan vind?\naaooaa"
+ "vemkanseglaforutanvind?\naaooaa"
};
const char *error = NULL;
const char *token = NULL;
{
/* test just a couple of these */
static const char *empty_tokens[] = {
+ "\xC2\xAF", /* U+00AF */
"\xCC\x80", /* U+0300 */
"\xF3\xA0\x87\xAF", /* U+E01EF */
"\xCC\x80\xF3\xA0\x87\xAF" /* U+0300 U+E01EF */
};
const char * const settings[] =
- {"id", "Any-Lower; NFKD; [: Nonspacing Mark :] Remove", NULL};
+ {"id", "Any-Lower; NFKD; [: Nonspacing Mark :] Remove; [\\x20] Remove", NULL};
struct fts_filter *norm;
const char *error;
unsigned int i;