jashkenas / coffee-script-tmbundle

A TextMate Bundle for CoffeeScript
MIT License
820 stars 234 forks source link

Highlight error when regular expression contains hashes #149

Open zhanzhenzhen opened 10 years ago

zhanzhenzhen commented 10 years ago

It mistakenly treats all hashes as comment hashes. For example:

regex = ///
  (/[^?#]*)?    # path
///

Where the first hash should NOT be considered as a comment hash.

coffee-bug