adobe/brackets — pull request #940 by tvoliter (2012-05-25 16:20:36+00:00)
Title: Fix regex expression for recognizing single line functions, fixes issue-924

* removed global flag since algorithm doesn't iterate through multiple matches per line
* changed lazy matches to use negative matching instead which is faster since parser doesn't need to back up (great article on this here: http://www.regular-expressions.info/repeat.html)

@gruehle can you review and see if the rexeg expressions for JavaScript quick edit should change too?

fixes issue-924