metadata search with keys containing _-

This commit is contained in:
ed 2021-08-07 21:38:52 +02:00
parent 1db489a0aa
commit 8b58e951e3

View file

@ -88,7 +88,7 @@ class U2idx(object):
is_date = False
kw_key = ["(", ")", "and ", "or ", "not "]
kw_val = ["==", "=", "!=", ">", ">=", "<", "<=", "like "]
ptn_mt = re.compile(r"^\.?[a-z]+$")
ptn_mt = re.compile(r"^\.?[a-z_-]+$")
mt_ctr = 0
mt_keycmp = "substr(up.w,1,16)"
mt_keycmp2 = None