Jakehp/language-groovy — pull request #3 by sjurgemeyer (2014-02-28 13:55:20+00:00)
Title: Fix issue of Atom hanging when loading a groovy file

The current code causes Atom to hang when trying to parse most groovy files. It looks like the regexes for variables and methods were copied from a multiline string that had a bunch of comments, new lines and spaces in them.

I've resolved the big issues with both regexes, however, when Atom matches the method, it stops highlighting keywords in the method declaration, so I've commented out the method block for now. I honestly don't know if the methods block adds anything to Atom, but I didn't notice any special treatment when I had it enabled.

This will resolve the immediate issue of hanging and still allow the keywords to be highlighted.