• match regexps that follow a ‘return’ keyword, example:

return /^[a-zA-Z]([a-zA-Z0-9+-.])*:/.test(s);



git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@7067 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
This commit is contained in:
duff
2007-04-26 23:15:46 +00:00
parent c9ca65bb80
commit 093215cd0b
+1 -1
View File
@@ -611,7 +611,7 @@
</dict>
<dict>
<key>begin</key>
<string>(?&lt;=[=(:]|^)\s*(/)(?![/*+{}?])</string>
<string>(?&lt;=[=(:]|^|return)\s*(/)(?![/*+{}?])</string>
<key>beginCaptures</key>
<dict>
<key>1</key>