lib/rouge/lexers/kotlin.rb in rouge-4.2.0 vs lib/rouge/lexers/kotlin.rb in rouge-4.2.1

- old
+ new

@@ -22,10 +22,10 @@ public reified return sealed set super suspend tailrec this throw true try typealias typeof val var vararg when where while yield ) - name_chars = %r'[-_\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Nl}\p{Nd}\p{Pc}\p{Cf}\p{Mn}\p{Mc}]*' + name_chars = %r'[-\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Nl}\p{Nd}\p{Pc}\p{Cf}\p{Mn}\p{Mc}]*' class_name = %r'`?[\p{Lu}]#{name_chars}`?' name = %r'`?[_\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Nl}]#{name_chars}`?' state :root do