• fix regexp rule to not match the // part of comments

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@2033 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
This commit is contained in:
duff
2005-10-28 18:07:42 +00:00
parent 8cc766b829
commit 7644a06f2f
+2 -2
View File
@@ -81,7 +81,7 @@
</dict>
<dict>
<key>match</key>
<string>//.*</string>
<string>//.*$</string>
<key>name</key>
<string>comment.line.double-slash.js</string>
</dict>
@@ -171,7 +171,7 @@
</dict>
<dict>
<key>begin</key>
<string>(?&lt;=[=(]|^)\s*/(?![*+{}?])</string>
<string>(?&lt;=[=(]|^)\s*/(?![/*+{}?])</string>
<key>end</key>
<string>/[igm]*</string>
<key>name</key>