mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove superfluous icu_lower in _match
This commit is contained in:
parent
e777ee817b
commit
59791426cb
@ -150,7 +150,7 @@ def _match(query, value, matchkind):
|
|||||||
elif query == t:
|
elif query == t:
|
||||||
return True
|
return True
|
||||||
elif matchkind == REGEXP_MATCH:
|
elif matchkind == REGEXP_MATCH:
|
||||||
return re.search(query, icu_lower(t), re.I|re.UNICODE)
|
return re.search(query, t, re.I|re.UNICODE)
|
||||||
elif matchkind == CONTAINS_MATCH:
|
elif matchkind == CONTAINS_MATCH:
|
||||||
if pref_use_primary_find_in_search:
|
if pref_use_primary_find_in_search:
|
||||||
return primary_find(query, t)[0] != -1
|
return primary_find(query, t)[0] != -1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user