[rspec-users] Cucumber: Fix for Textmate syntax highlighting

Ashley Moran ashley.moran at patchspace.co.uk
Fri Nov 14 11:13:37 EST 2008

On Nov 14, 2008, at 3:25 pm, Matt Wynne wrote:

> It's  been bugging me for a while that a lot of the regular  
> expressions in my step matchers look ugly in TextMate because it  
> doesn't recognise them.
> I patched the Ruby tmbundle with a fix. If this bugs you too, you  
> can pull down my Ruby.tmbundle from here:
> http://github.com/mattwynne/textmate-bundles/tree/master
> Or has somebody already solved this problem some other way?

I've always stuck %r in front of the regex:

   Given %r/blah/

But I'd prefer a better fix!



More information about the rspec-users mailing list