mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	...
This commit is contained in:
		
							parent
							
								
									735830ef1a
								
							
						
					
					
						commit
						2d85dc02d7
					
				@ -165,7 +165,7 @@ class Search:
 | 
				
			|||||||
            word_pats, full_pat = self.near_search_data
 | 
					            word_pats, full_pat = self.near_search_data
 | 
				
			||||||
            if len(word_pats) < 2:
 | 
					            if len(word_pats) < 2:
 | 
				
			||||||
                error_dialog(gui, _('Invalid search expression'), _(
 | 
					                error_dialog(gui, _('Invalid search expression'), _(
 | 
				
			||||||
                    'In Nearby words mode, you must specify at least two words and an optional trailing number of characters.'
 | 
					                    'In nearby words mode, you must specify at least two words and an optional trailing number of characters.'
 | 
				
			||||||
                    ' The expression: {} does not have at least two words.').format(self.text), show=True)
 | 
					                    ' The expression: {} does not have at least two words.').format(self.text), show=True)
 | 
				
			||||||
                return False
 | 
					                return False
 | 
				
			||||||
        elif self.mode == 'regex':
 | 
					        elif self.mode == 'regex':
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user