I don't know what is actually legal, google tells me word and underscore, but $ is obviously legal as I have code here that has methods starting with it. git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@2173 dfb7d73b-c2ec-0310-8fea-fb051d288c6d