Remove superfluous icu_lower in _match

This commit is contained in:
Charles Haley 2012-07-06 14:58:58 +02:00
parent e777ee817b
commit 59791426cb

View File

@ -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