Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] online_dictionary: regular expression

Markus Heiser480476fdf35e
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):