On Sep 12, 2012, at 3:44 PM, Elia Schito <elia(a)schito.me> wrote:
The problem with character classes (unless I'm
missing something) is that you need to "fix" every grammar to get the same
For ‘$foo’ in PHP and Shell the ‘$’ is scoped as ‘punctuation.definition.variable’. Same
for ‘@’ in Ruby for ‘@foo’.
So you can make the (non-word) characters of the variable not part of the unit by making a
setting for that scope (or just “punctuation”).