From 185a9d5052a599f30582141470c33c309f9af159 Mon Sep 17 00:00:00 2001 From: Joshua Sullivan Date: Tue, 26 Feb 2019 07:16:04 -0800 Subject: [PATCH] Fix javascript regexp range closing bracket --- website/monarch.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/monarch.html b/website/monarch.html index 71b9c7a3..6a76d0a2 100644 --- a/website/monarch.html +++ b/website/monarch.html @@ -772,7 +772,7 @@ return { [/\^/, 'regexp.invalid'], [/@regexpesc/, 'regexp.escape'], [/[^\]]/, 'regexp'], - [/\]/, '@brackets.regexp.escape.control', '@pop'], + [/\]/, { token: 'regexp.escape.control', next: '@pop', bracket: '@close' }], ], string_double: [