I could see that the ?<char> construct didn't got recognized at all. I had to introduce a identifier rule, that recognizes method calls and vars, in order to prevent clash between ?<char> and method names. Changed: U trunk/Ruby.tmbundle/Syntaxes/Ruby.plist