/* Copyright (c) 2016-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "unichar.h"
#include "fts-tokenizer-common.h"
void
{
unsigned int char_bytes;
/* the token is truncated - make sure the last character
exists entirely in the token */
break;
}
}
}
{
/* the token may contain '.' in the end - remove all of them. */
while (pos > 0 &&
pos--;
}