diff --git a/searx/query.py b/searx/query.py index 4a4e5a192..66e38711c 100644 --- a/searx/query.py +++ b/searx/query.py @@ -95,7 +95,7 @@ class RawTextQuery(object): # this force a engine or category if query_part[0] == '!' or query_part[0] == '?': - prefix = query_part[1:].replace('-', ' ') + prefix = query_part[1:].replace('-', ' ').replace('_', ' ') # check if prefix is equal with engine shortcut if prefix in engine_shortcuts: