mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Merge pull request #108 from holycrepe/patch-1
Update Field Searches to match multi-line fields
This commit is contained in:
commit
621923d45d
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ where mid in %s and flds like ? escape '\\'""" % (
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue