Topic: search words bugs?
I just installed PunBB and I absolutely love it!
I was working on an implemented version of stopwords file in my language (italian) but looking at the search_word table I found some oddities most of them caused by punctuation.
I added the word "noi" ("we" in italian) in the stopwords.txt but if a post contains "noi." (noi + [period]), the period is stripped but the word "noi" is inserted into the search_word table anyway.
The same strange behaviour happens when a post contains something like "word..." (word + [3 periods]). The word is stored in the database as "word.." (word + [2 periods]).
Another example is for "dr.", it's a 2 letters word, so it should not be considered but instead it is counted as a 3 letters word then the period is stripped out and "dr" (without period) is inserted into the db.
Is this a bug or a feature?