mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 12:45:39 +01:00
Merge pull request #1329 from jbsulli/javascript-regexp-range-close-bug
Fix JavaScript RegExp range closing bracket
This commit is contained in:
commit
f0832de23a
1 changed files with 1 additions and 1 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue