mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Merge pull request #477 from liluo/patch-1
added multi line comment flag for python
This commit is contained in:
		| @@ -32,7 +32,8 @@ module Linguist | |||||||
|       ['/*', '*/'],    # C |       ['/*', '*/'],    # C | ||||||
|       ['<!--', '-->'], # XML |       ['<!--', '-->'], # XML | ||||||
|       ['{-', '-}'],    # Haskell |       ['{-', '-}'],    # Haskell | ||||||
|       ['(*', '*)']     # Coq |       ['(*', '*)'],    # Coq | ||||||
|  |       ['"""', '"""']   # Python | ||||||
|     ] |     ] | ||||||
|  |  | ||||||
|     START_SINGLE_LINE_COMMENT =  Regexp.compile(SINGLE_LINE_COMMENTS.map { |c| |     START_SINGLE_LINE_COMMENT =  Regexp.compile(SINGLE_LINE_COMMENTS.map { |c| | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user