summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-06 10:26:50 +0100
committerGeorg Brandl <georg@python.org>2014-11-06 10:26:50 +0100
commit1417195045bfbdb98352e61c01c2cc57376df4c9 (patch)
tree1c42289217e4747f2f0f8b4dcd11610f4de3bedd
parent097892ee2680282b83afc4c872b859b72c49d55c (diff)
downloadpygments-1417195045bfbdb98352e61c01c2cc57376df4c9.tar.gz
Ruby: more special $* variables
-rw-r--r--pygments/lexers/ruby.py2
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'),