Skip to content

Commit

Permalink
Merge pull request ankitects#108 from holycrepe/patch-1
Browse files Browse the repository at this point in the history
Update Field Searches to match multi-line fields
  • Loading branch information
dae committed Sep 26, 2015
2 parents 96a18d2 + 2f74908 commit 621923d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anki/find.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def _findField(self, field, val):
ord = mods[str(mid)][1]
strg = flds[ord]
try:
if re.search("(?i)^"+regex+"$", strg):
if re.search("(?si)^"+regex+"$", strg):
nids.append(id)
except sre_constants.error:
return
Expand Down

0 comments on commit 621923d

Please sign in to comment.