lib/rouge/lexers/scala.rb in rouge-3.16.0 vs lib/rouge/lexers/scala.rb in rouge-3.17.0

- old
+ new

@@ -38,10 +38,10 @@ state :root do rule %r/(class|trait|object)(\s+)/ do groups Keyword, Text push :class end - rule %r/'#{idrest}[^']/, Str::Symbol + rule %r/'#{idrest}(?!')/, Str::Symbol rule %r/[^\S\n]+/, Text rule %r(//.*), Comment::Single rule %r(/\*), Comment::Multiline, :comment