mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	Restored regex_flags to match_consecutive
This commit is contained in:
		
							parent
							
								
									575b14a13f
								
							
						
					
					
						commit
						463ad780de
					
				| @ -40,6 +40,7 @@ def match_anywhere(needles, haystack, ignore_case=False): | ||||
|     regex_some_seps = '.*' + os.sep + '.*' | ||||
|     regex_no_sep_end = '[^' + os.sep + ']*$' | ||||
|     regex_needle = regex_some_seps.join(imap(re.escape, needles)) + regex_no_sep_end | ||||
|     regex_flags = re.IGNORECASE | re.UNICODE if ignore_case else re.UNICODE | ||||
|     found = lambda haystack: re.search( | ||||
|         regex_needle, | ||||
|         haystack.path, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user