Permalink
Browse files

fix constructor name matching

  • Loading branch information...
1 parent 043c9c3 commit e4ef85d1b02262d6da4688396ec4e5e1f2ed98e7 @Benvie committed Oct 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 JavaScriptNext.tmLanguage
@@ -941,7 +941,7 @@
</dict>
</dict>
<key>match</key>
- <string>(new)\s+(\w+(?:\.\w*)?)</string>
+ <string>(new)\s+([a-zA-Z_?.$][\w?.$]*)</string>
<key>name</key>
<string>meta.instance.constructor</string>
</dict>

0 comments on commit e4ef85d

Please sign in to comment.