diff --git a/Syntaxes/JavaScript.plist b/Syntaxes/JavaScript.plist index 89128cd..6f849c5 100644 --- a/Syntaxes/JavaScript.plist +++ b/Syntaxes/JavaScript.plist @@ -600,7 +600,7 @@ comment "something" : match - ((")([^"]*)(")\s*)(:)\s*+(?!function) + ((")([^"]*)(")\s*)(:)(?!\s*+function) captures @@ -634,7 +634,7 @@ comment 'something' : match - ((')([^']*)(')\s*)(:)\s*+(?!function) + ((')([^']*)(')\s*)(:)(?!\s*+function) captures @@ -653,7 +653,7 @@ comment something : match - \b(\w+\b\s*)(:)\s*+(?!function) + \b(\w+\b\s*)(:)(?!\s*+function)