mirror of
https://github.com/jasons-gh/the-chomsky-index.git
synced 2026-03-11 08:54:36 +00:00
Add double quote to disallowed characters in entry
This commit is contained in:
parent
901ef2dd97
commit
80a83082ba
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ def search_results(entry, base_df, base_path, settings):
|
|||
|
||||
# Validate
|
||||
if (entry.strip() == '' or (';' in entry and '+' in entry)
|
||||
or any(x in entry for x in '.^$*?{}[]\\|()')
|
||||
or any(x in entry for x in '.^$*?{}[]\\|()"')
|
||||
or entry.replace(' ', '').replace('\t', '').isdigit()):
|
||||
return []
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue