diff options
author | Georg Brandl <georg@python.org> | 2014-11-06 10:26:50 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-06 10:26:50 +0100 |
commit | 1417195045bfbdb98352e61c01c2cc57376df4c9 (patch) | |
tree | 1c42289217e4747f2f0f8b4dcd11610f4de3bedd /pygments | |
parent | 097892ee2680282b83afc4c872b859b72c49d55c (diff) | |
download | pygments-1417195045bfbdb98352e61c01c2cc57376df4c9.tar.gz |
Ruby: more special $* variables
Diffstat (limited to 'pygments')
-rw-r--r-- | pygments/lexers/ruby.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/ruby.py b/pygments/lexers/ruby.py index 638789d0..7c3076df 100644 --- a/pygments/lexers/ruby.py +++ b/pygments/lexers/ruby.py @@ -299,7 +299,7 @@ class RubyLexer(ExtendedRegexLexer): (r'@@[a-zA-Z_]\w*', Name.Variable.Class), (r'@[a-zA-Z_]\w*', Name.Variable.Instance), (r'\$\w+', Name.Variable.Global), - (r'\$[!@&`\'+~=/\\,;.<>_*$?:"]', Name.Variable.Global), + (r'\$[!@&`\'+~=/\\,;.<>_*$?:"^-]', Name.Variable.Global), (r'\$-[0adFiIlpvw]', Name.Variable.Global), (r'::', Operator), include('strings'), |