mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	.pod disambiguation heuristic fix (#3541)
Look for any line starting with "=\w+", not full lines, otherwise we miss e.g. "=head1 HEADING".
This commit is contained in:
		| @@ -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"] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user