1
0
Fork 0

Support more characters

This commit is contained in:
Daniele Tricoli 2018-11-21 00:55:12 +01:00
parent b21f83dfa7
commit 7722850bf9
1 changed files with 16 additions and 11 deletions

View File

@ -9,7 +9,7 @@
// See https://doc.zeroc.com/ice/latest/properties-and-configuration for
// details about zeroc configuration.
CHAR = { ASCII_ALPHANUMERIC | "." | "_" }
CHAR = { ASCII_ALPHANUMERIC | "." | "_" | "-" }
NO_NEWLINE = _{ !NEWLINE ~ ANY }
WHITESPACE = _{ " " }
SEPARATOR = _{ "=" }
@ -18,21 +18,26 @@ NAME = @{ CHAR+ }
VALUE = @{
(
CHAR
| "/"
| ":"
| "!"
| "%"
| "&"
| "*"
| "+"
| ","
| "-"
| "?"
| "="
| "!"
| "\""
| "\\"
| "{"
| "}"
| "/"
| ":"
| ";"
| "<"
| "="
| ">"
| "&"
| "?"
| "["
| "\""
| "\\"
| "]"
| "{"
| "}"
| WHITESPACE
)*
}