forked from zaclys/searxng
		
	Merge pull request #1443 from return42/fix-online_dictionary
[fix] online_dictionary: regular expression
This commit is contained in:
		
						commit
						c63fab6928
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -9,7 +9,7 @@ import re
 | 
			
		|||
from searx.utils import is_valid_lang
 | 
			
		||||
from .online import OnlineProcessor
 | 
			
		||||
 | 
			
		||||
parser_re = re.compile('.*?([a-z]+)-([a-z]+) ([^ ]+)$', re.I)
 | 
			
		||||
parser_re = re.compile('.*?([a-z]+)-([a-z]+) (.+)$', re.I)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class OnlineDictionaryProcessor(OnlineProcessor):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue