We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Char
1 parent d22070d commit dbb18ebCopy full SHA for dbb18eb
1 file changed
grammars/json.peg
@@ -14,7 +14,7 @@ Exp <- [eE][-+]?[0-9]+^expDigits
14
15
// Whitespaces are part of the string within quotes
16
String <- '"' #(Char* ('"'^strClose))
17
-Char <- Escape / Unicode / (!'"' .)
+Char <- #(Escape / Unicode / (!'"' .))
18
Escape <- '\\' ["\\/bfnrt]
19
Unicode <- #('\\' 'u' Hex^chrH1 Hex^chrH2 Hex^chrH3 Hex^chrH4)
20
Hex <- [0-9A-Fa-f]
0 commit comments