From 63aed8f0fd61e097ae9eea43977cac4af595ca43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sun, 14 Aug 2022 19:09:52 +0200 Subject: [PATCH] Fix up the PEG change from the last commit This is not a regular expression. --- liberty.c | 4 ++-- 1 file 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]?