lib/rouge/lexers/shell.rb in rouge-3.15.0 vs lib/rouge/lexers/shell.rb in rouge-3.16.0

- old
+ new

@@ -62,10 +62,10 @@ rule %r/&&|\|\|/, Operator # here-string rule %r/<<</, Operator - rule %r/(<<-?)(\s*)(\'?)(\\?)(\w+)(\3)/ do |m| + rule %r/(<<-?)(\s*)(['"]?)(\\?)(\w+)(\3)/ do |m| groups Operator, Text, Str::Heredoc, Str::Heredoc, Name::Constant, Str::Heredoc @heredocstr = Regexp.escape(m[5]) push :heredoc end end