Skip to content

Commit

Permalink
Quick hack to make foo(/=/g) treat that as a regex instead of the /= …
Browse files Browse the repository at this point in the history
…operator

git-svn-id: http://svn.textmate.org/trunk/Bundles/JavaScript.tmbundle@9189 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
lilyball committed Mar 21, 2008
1 parent 7642128 commit 0d5aef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Syntaxes/JavaScript.plist
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>comment</key> <key>comment</key>
Expand Down Expand Up @@ -599,7 +599,7 @@
</dict> </dict>
<dict> <dict>
<key>match</key> <key>match</key>
<string>!|\$|%|&amp;|\*|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|&lt;=|&gt;=|&lt;&lt;=|&gt;&gt;=|&gt;&gt;&gt;=|&lt;&gt;|&lt;|&gt;|!|&amp;&amp;|\|\||\?\:|\*=|/=|%=|\+=|\-=|&amp;=|\^=|\b(in|instanceof|new|delete|typeof|void)\b</string> <string>!|\$|%|&amp;|\*|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|&lt;=|&gt;=|&lt;&lt;=|&gt;&gt;=|&gt;&gt;&gt;=|&lt;&gt;|&lt;|&gt;|!|&amp;&amp;|\|\||\?\:|\*=|(?&lt;!\()/=|%=|\+=|\-=|&amp;=|\^=|\b(in|instanceof|new|delete|typeof|void)\b</string>
<key>name</key> <key>name</key>
<string>keyword.operator.js</string> <string>keyword.operator.js</string>
</dict> </dict>
Expand Down

0 comments on commit 0d5aef4

Please sign in to comment.