fix floats bug

Update CHANGELOG.md

Co-Authored-By: Clément Renault <renault.cle@gmail.com>
This commit is contained in:
mpostma 2020-04-27 15:36:04 +02:00
parent 812465e014
commit d1f1bfe071
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
## v0.10.1 (unreleased) ## v0.10.1 (unreleased)
- Add support for floating points in filters (#640)
- Add '@' character as tokenizer separator (#607) - Add '@' character as tokenizer separator (#607)
- Add support for filtering on arrays of strings (#611) - Add support for filtering on arrays of strings (#611)

View File

@ -2,7 +2,7 @@ key = _{quoted | word}
value = _{quoted | word} value = _{quoted | word}
quoted = _{ (PUSH("'") | PUSH("\"")) ~ string ~ POP } quoted = _{ (PUSH("'") | PUSH("\"")) ~ string ~ POP }
string = {char*} string = {char*}
word = ${(LETTER | NUMBER | "_" | "-")+} word = ${(LETTER | NUMBER | "_" | "-" | ".")+}
char = _{ !(PEEK | "\\") ~ ANY char = _{ !(PEEK | "\\") ~ ANY
| "\\" ~ (PEEK | "\\" | "/" | "b" | "f" | "n" | "r" | "t") | "\\" ~ (PEEK | "\\" | "/" | "b" | "f" | "n" | "r" | "t")