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: [