Merge pull request #121 from VarghaSabee/dart/safari-bug

Safari regex error fix (negative lookbehind) #2179
This commit is contained in:
Alexandru Dima 2020-12-23 18:09:34 +01:00 committed by GitHub
commit e62d8d0d8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'], // [/[A-Z][\w\$]*/, 'identifier'],
// whitespace // whitespace