jashkenas / jashkenas/coffee-script-tmbundle
Highlight error when regular expression contains hashes
- Dominant language
- JavaScript
- Stars
- 826
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
It mistakenly treats all hashes as comment hashes. For example:
``` coffee
regex = ///
(/[^?#]*)? # path
///
```
Where the first hash should NOT be considered as a comment hash.

Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the highlighting with the CoffeeScript regex example in the issue, then inspect the bundle's syntax-highlighting rule that classifies hashes as comments. Done means the hash inside the regular expression is not highlighted as a comment while the trailing path comment remains highlighted correctly.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100