aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-08-14 19:09:52 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-08-14 19:09:52 +0200
commit63aed8f0fd61e097ae9eea43977cac4af595ca43 (patch)
treef80c8e9420bebf48010e46a947a0233b01919461
parentf545be725df9195a5b5897ad95a0220acf10f148 (diff)
downloadliberty-63aed8f0fd61e097ae9eea43977cac4af595ca43.tar.gz
liberty-63aed8f0fd61e097ae9eea43977cac4af595ca43.tar.xz
liberty-63aed8f0fd61e097ae9eea43977cac4af595ca43.zip
Fix up the PEG change from the last commit
This is not a regular expression.
-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]?