diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fb58843a..23cacf757 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## v0.10.1 (unreleased) + - Add support for floating points in filters (#640) - Add '@' character as tokenizer separator (#607) - Add support for filtering on arrays of strings (#611) diff --git a/meilisearch-core/src/filters/parser/grammar.pest b/meilisearch-core/src/filters/parser/grammar.pest index 79c97c011..e7095bb63 100644 --- a/meilisearch-core/src/filters/parser/grammar.pest +++ b/meilisearch-core/src/filters/parser/grammar.pest @@ -2,7 +2,7 @@ key = _{quoted | word} value = _{quoted | word} quoted = _{ (PUSH("'") | PUSH("\"")) ~ string ~ POP } string = {char*} -word = ${(LETTER | NUMBER | "_" | "-")+} +word = ${(LETTER | NUMBER | "_" | "-" | ".")+} char = _{ !(PEEK | "\\") ~ ANY | "\\" ~ (PEEK | "\\" | "/" | "b" | "f" | "n" | "r" | "t")