• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

regex-comments

Atom highlighting for Oniguruma-regex comments
  • #oniguruma
  • #textmate
  • #regex
  • #regular expression
  • #comment
Alhadis
2.0.0 694
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Regex Comments

Highlight comments in regular expressions. Two styles are supported:

(?# Block comments)

# Line comments

Note: This style only affects strings that start with (?x):

Geared toward authors of TextMate-compatible grammars.

Targeting specific languages

By default, this package affects any language where the (?#…) sequence is used inside a string. If you'd like to restrict it to specific languages only, just use your stylesheet:

.syntax--string:not(.syntax--coffee),
.syntax--string:not(.syntax--yaml) {
& .syntax--oniguruma.syntax--comment {
color: inherit;
}
}

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by