mirror of
https://github.com/kennethreitz-archive/kJS.tmbundle.git
synced 2026-06-05 23:50:19 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user