Explorar o código

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

Safari regex error fix (negative lookbehind) #2179
Alexandru Dima %!s(int64=4) %!d(string=hai) anos
pai
achega
e62d8d0d8a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/dart/dart.ts

+ 1 - 1
src/dart/dart.ts

@@ -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