mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-23 00:22:56 +01:00
Merge pull request #121 from VarghaSabee/dart/safari-bug
Safari regex error fix (negative lookbehind) #2179
This commit is contained in:
commit
e62d8d0d8a
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ export const language = <languages.IMonarchLanguage>{
|
|||
}
|
||||
}
|
||||
],
|
||||
[/(?<![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)/, 'type.identifier'], // to show class names nicely
|
||||
[/[A-Z_$][\w\$]*/, 'type.identifier'], // show class names
|
||||
// [/[A-Z][\w\$]*/, 'identifier'],
|
||||
|
||||
// whitespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue