Fix anomalous backslash in string

This commit is contained in:
stepshal 2016-07-11 20:29:47 +07:00
parent 3fd405dcd3
commit b3ab221b98
21 changed files with 47 additions and 47 deletions

View file

@ -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)