lib/rouge/lexers/ceylon.rb in rouge-3.26.1 vs lib/rouge/lexers/ceylon.rb in rouge-3.27.0

- old
+ new

@@ -49,11 +49,11 @@ push :import end rule %r("(\\\\|\\"|[^"])*"), Literal::String rule %r('\\.'|'[^\\]'|'\\\{#[0-9a-fA-F]{4}\}'), Literal::String::Char - rule %r(".*``.*``.*"', String::Interpol - rule %r(\.)([a-z_]\w*)) do + rule %r("[^`]*``[^`]*``[^`]*"), Literal::String::Interpol + rule %r((\.)([a-z_]\w*)) do groups Operator, Name::Attribute end rule %r([a-zA-Z_]\w*:), Name::Label rule %r((\\I[a-z]|[A-Z])\w*), Name::Decorator rule %r([a-zA-Z_]\w*), Name