word_search: add '.' filter for FTS input
This commit is contained in:
@@ -30,6 +30,7 @@ SearchMode _determineSearchMode(String word) {
|
||||
/// FTS reacts to certain characters, so we should filter them out.
|
||||
String _filterFTSSensitiveCharacters(String word) {
|
||||
return word
|
||||
.replaceAll('.', '')
|
||||
.replaceAll('-', '')
|
||||
.replaceAll('*', '')
|
||||
.replaceAll('+', '')
|
||||
|
||||
Reference in New Issue
Block a user