lib/rouge/lexers/console.rb in rouge-3.27.0 vs lib/rouge/lexers/console.rb in rouge-3.28.0
- old
+ new
@@ -101,10 +101,10 @@
Lexer.find(@lang).new(options)
end
end
def line_regex
- /(\\.|[^\\])*?(\n|$)/m
+ /(.*?)(\n|$)/
end
def output_lexer
@output_lexer ||= case @output
when nil