Fixed the parsing of object values that are regular expression literal. Thanks Daniel Stockman

git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@9126 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
This commit is contained in:
subtlegradient
2008-03-16 02:38:15 +00:00
parent bc39c3bdca
commit d72e54c64d
+3 -3
View File
@@ -600,7 +600,7 @@
<key>comment</key>
<string>"something" : </string>
<key>match</key>
<string>((")([^"]*)(")\s*)(:)\s*+(?!function)</string>
<string>((")([^"]*)(")\s*)(:)(?!\s*+function)</string>
</dict>
<dict>
<key>captures</key>
@@ -634,7 +634,7 @@
<key>comment</key>
<string>'something' : </string>
<key>match</key>
<string>((')([^']*)(')\s*)(:)\s*+(?!function)</string>
<string>((')([^']*)(')\s*)(:)(?!\s*+function)</string>
</dict>
<dict>
<key>captures</key>
@@ -653,7 +653,7 @@
<key>comment</key>
<string>something : </string>
<key>match</key>
<string>\b(\w+\b\s*)(:)\s*+(?!function)</string>
<string>\b(\w+\b\s*)(:)(?!\s*+function)</string>
</dict>
</array>
</dict>