Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #121 from VarghaSabee/dart/safari-bug
Browse files Browse the repository at this point in the history
Safari regex error fix (negative lookbehind) #2179
  • Loading branch information
alexdima authored Dec 23, 2020
2 parents 2fc7f49 + f1f9faf commit e62d8d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dart/dart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e62d8d0

Please sign in to comment.