lib/linguist/heuristics.rb in github-linguist-4.8.0 vs lib/linguist/heuristics.rb in github-linguist-4.8.1

- old
+ new

@@ -328,10 +328,10 @@ Language["R"] end end disambiguate ".rpy" do |data| - if /(^(import|from|class|def)[\s\S])/m.match(data) + if /(^(import|from|class|def)\s)/m.match(data) Language["Python"] else Language["Ren'Py"] end end