diff --git a/anki/find.py b/anki/find.py index 6ae6776ce..ec6302e18 100644 --- a/anki/find.py +++ b/anki/find.py @@ -440,7 +440,7 @@ select distinct(n.id) from cards c, notes n where c.nid=n.id and """+preds # nothing has that field return # gather nids - regex = re.escape(val).replace("\\_", ".").replace("\\%", ".*") + regex = re.escape(val).replace("_", ".").replace("\\%", ".*") nids = [] for (id,mid,flds) in self.col.db.execute(""" select id, mid, flds from notes