mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 02:22:22 +02:00
Merge pull request #706 from not-my-profile/remove-broken-quest-op
[fix] remove broken ? search operator
This commit is contained in:
commit
1196abcfce
4 changed files with 5 additions and 16 deletions
|
@ -177,7 +177,7 @@ class ExternalBangParser(QueryPartParser):
|
|||
class BangParser(QueryPartParser):
|
||||
@staticmethod
|
||||
def check(raw_value):
|
||||
return raw_value[0] == '!' or raw_value[0] == '?'
|
||||
return raw_value[0] == '!'
|
||||
|
||||
def __call__(self, raw_value):
|
||||
value = raw_value[1:].replace('-', ' ').replace('_', ' ')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue