diff --git a/lib/linguist/heuristics.rb b/lib/linguist/heuristics.rb index 35052ad3..f18cf920 100644 --- a/lib/linguist/heuristics.rb +++ b/lib/linguist/heuristics.rb @@ -346,7 +346,7 @@ module Linguist end disambiguate ".pod" do |data| - if /^=\w+$/.match(data) + if /^=\w+\b/.match(data) Language["Pod"] else Language["Perl"]