aboutsummaryrefslogtreecommitdiff
path: root/liberty.c
diff options
context:
space:
mode:
Diffstat (limited to 'liberty.c')
-rw-r--r--liberty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liberty.c b/liberty.c
index df7b744..0d4f222 100644
--- a/liberty.c
+++ b/liberty.c
@@ -4412,8 +4412,8 @@ socket_io_try_write (int socket_fd, struct str *wb)
// object = lws '{' entries endobj
// endobj = lws '}'
//
-// quoted = lws '"' ('\\' escape / ![\\"] char)* '"'
-// / lws '`' ![`]* '`'
+// quoted = lws '"' (!["\\] char / '\\' escape)* '"'
+// / lws '`' (![`] char)* '`'
// string = (quoted)+
// char = [\0-\177] # or any Unicode codepoint in the UTF-8 encoding
// escape = [\\"abfnrtv] / [xX][0-9A-Fa-f][0-9A-Fa-f]? / [0-7][0-7]?[0-7]?