Update frontend search escapes to new parsing
This commit is contained in:
parent
9e53481003
commit
8d24fb89bf
@ -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('"', '\\"'))
|
||||
|
Loading…
Reference in New Issue
Block a user