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('"', '\\"'))