textmate / ruby.tmbundle

TextMate support for Ruby
178 stars 91 forks source link

Multiple exclamation marks #134

Open graceful-potato opened 4 years ago

graceful-potato commented 4 years ago

In expressions like !!true only first exclamation mark highlighted. Since this syntax is a valid ruby code -

def foo!(b)
  b
end

foo!!!false

I added ! in to positive lookbehind so every ! operator highlighted correctly