Skip to content

Commit

Permalink
Remove suspicious group inside type parameter character class
Browse files Browse the repository at this point in the history
This group was added in 06c314b. I'm not sure
what the intent was here. Oniguruma parses (?:+) as regular characters. [,] is
parsed as a nested character class and so is equivalent to just a bare comma.
So the addition of this group to the character class really just means that
parentheses and colons are now part of the (negated) class. I don't believe
this was the intent, so I've removed the group entirely.
  • Loading branch information
aroben committed Nov 12, 2014
1 parent 612dd7d commit 2f65d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Syntaxes/Vala.tmLanguage
Expand Up @@ -863,7 +863,7 @@
<key>begin</key>
<string>\b((?:[a-z]\w*\.)*[A-Z]+\w*)&lt;</string>
<key>end</key>
<string>&gt;|[^\w\s,\?&lt;\[(?:[,]+)\]]</string>
<string>&gt;|[^\w\s,\?&lt;\[\]]</string>
<key>name</key>
<string>storage.type.generic.vala</string>
<key>patterns</key>
Expand Down

0 comments on commit 2f65d72

Please sign in to comment.