mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
Merge pull request #621 from stepshal/anomalous-backslash-in-string
Fix anomalous backslash in string
This commit is contained in:
@@ -5,7 +5,7 @@ from threading import RLock
|
||||
from urlparse import urlparse, unquote
|
||||
from searx.engines import engines
|
||||
|
||||
CONTENT_LEN_IGNORED_CHARS_REGEX = re.compile('[,;:!?\./\\\\ ()-_]', re.M | re.U)
|
||||
CONTENT_LEN_IGNORED_CHARS_REGEX = re.compile(r'[,;:!?\./\\\\ ()-_]', re.M | re.U)
|
||||
WHITESPACE_REGEX = re.compile('( |\t|\n)+', re.M | re.U)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user