Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Support comment groups in regular expressions

Fixes #35.
  • Loading branch information...
commit cb353d1be369036dbf02572c44c0c2cf53ff5a69 1 parent 08aafaf
@infininight infininight authored
Showing with 31 additions and 0 deletions.
  1. +31 −0 Syntaxes/Ruby.plist
View
31 Syntaxes/Ruby.plist
@@ -3021,6 +3021,37 @@
</dict>
<dict>
<key>begin</key>
+ <string>\(\?#</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.begin.ruby</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>\)</string>
+ <key>endCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.end.ruby</string>
+ </dict>
+ </dict>
+ <key>name</key>
+ <string>comment.line.number-sign.ruby</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>include</key>
+ <string>#escaped_char</string>
+ </dict>
+ </array>
+ </dict>
+ <dict>
+ <key>begin</key>
<string>\(</string>
<key>captures</key>
<dict>
Please sign in to comment.
Something went wrong with that request. Please try again.