mirror of
https://github.com/kennethreitz-archive/kJS.tmbundle.git
synced 2026-06-05 23:50:19 +00:00
• 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:
@@ -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>(?<=[=(]|^)\s*/(?![*+{}?])</string>
|
||||
<string>(?<=[=(]|^)\s*/(?![/*+{}?])</string>
|
||||
<key>end</key>
|
||||
<string>/[igm]*</string>
|
||||
<key>name</key>
|
||||
|
||||
Reference in New Issue
Block a user