lib/rouge/lexers/make.rb in rouge-4.2.0 vs lib/rouge/lexers/make.rb in rouge-4.2.1
- old
+ new
@@ -71,10 +71,10 @@
push :shell_expr
end
end
state :export do
- rule %r/[\w[\$]{1,2}{}()-]/, Name::Variable
+ rule %r/[\w\${}()-]/, Name::Variable
rule %r/\n/, Text, :pop!
rule %r/[\t ]+/, Text
end
state :block_header do