I noticed that RegExp.$3 wasn't colored correct. The '3' was colored as it were a number.. in this context its an instance variable. I added a rule to recognize instance variables. Changed: U trunk/JavaScript.tmbundle/Syntaxes/JavaScript.plist