mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 10:25:42 +01:00
Simplify stringBody escape regex
This commit is contained in:
parent
d18f6db7ba
commit
cea14f4dd5
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ export const language = <languages.IMonarchLanguage>{
|
|||
|
||||
stringBody: [
|
||||
[/'/, 'string', '@popall'],
|
||||
[/\\'|\\\\/, 'string.escape'],
|
||||
[/\\['\\]/, 'string.escape'],
|
||||
[/./, 'string']
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue