diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-07-07 16:25:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 16:25:10 +0200 |
commit | c63fab6928c2500ee06a32d36b764d2043f59a2a (patch) | |
tree | 8f55412e6cf8ef2076df323c8d90fa0fcaf066b7 /searx/search | |
parent | df837d8b1b45d7386a1ab81f9b5da04baedc6274 (diff) | |
parent | 480476fdf35e17ed1b8f7a79f86f526b3c4f4531 (diff) | |
download | searxng-c63fab6928c2500ee06a32d36b764d2043f59a2a.tar.gz searxng-c63fab6928c2500ee06a32d36b764d2043f59a2a.zip |
Merge pull request #1443 from return42/fix-online_dictionary
[fix] online_dictionary: regular expression
Diffstat (limited to 'searx/search')
-rw-r--r-- | searx/search/processors/online_dictionary.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search/processors/online_dictionary.py b/searx/search/processors/online_dictionary.py index 3e7f6ed59..77540de9a 100644 --- a/searx/search/processors/online_dictionary.py +++ b/searx/search/processors/online_dictionary.py @@ -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): |