mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 12:45:39 +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: [
|
stringBody: [
|
||||||
[/'/, 'string', '@popall'],
|
[/'/, 'string', '@popall'],
|
||||||
[/\\'|\\\\/, 'string.escape'],
|
[/\\['\\]/, 'string.escape'],
|
||||||
[/./, 'string']
|
[/./, 'string']
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue