From 8d24fb89bff69a73320c823d2014c562ae3819b1 Mon Sep 17 00:00:00 2001 From: RumovZ Date: Sat, 14 Nov 2020 20:37:40 +0100 Subject: [PATCH] Update frontend search escapes to new parsing --- qt/aqt/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/browser.py b/qt/aqt/browser.py index 5bdfc5e39..150fbb58e 100644 --- a/qt/aqt/browser.py +++ b/qt/aqt/browser.py @@ -1215,7 +1215,7 @@ QTableView {{ gridline-color: {grid} }} if i % 2 == 0: txt += a + ":" else: - txt += re.sub("[*%_]", r"\\\g<0>", a) + txt += re.sub(r"[*_\\]", r"\\\g<0>", a) for c in '  ()"': if c in txt: txt = '"{}"'.format(txt.replace('"', '\\"'))