summaryrefslogtreecommitdiff
path: root/searx/results.py
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-07-11 20:29:47 +0700
committerstepshal <nessento@openmailbox.org>2016-07-11 23:53:13 +0700
commitb3ab221b9808ba2b7b01d417210af9b9527e661c (patch)
tree6ee035fb32906228376d9473e8524e8ed2be745a /searx/results.py
parent3fd405dcd3fd46d5b6f2fe1df625eedf0f1fbe02 (diff)
downloadsearxng-b3ab221b9808ba2b7b01d417210af9b9527e661c.tar.gz
searxng-b3ab221b9808ba2b7b01d417210af9b9527e661c.zip
Fix anomalous backslash in string
Diffstat (limited to 'searx/results.py')
-rw-r--r--searx/results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/results.py b/searx/results.py
index 4bb0de0d8..d5d88af6b 100644
--- a/searx/results.py
+++ b/searx/results.py
@@ -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)