diff --git a/src/itemscript.lua b/src/itemscript.lua index 08dbe19..21b362c 100644 --- a/src/itemscript.lua +++ b/src/itemscript.lua @@ -136,7 +136,7 @@ function itemscript.parseFilterExpression(str) fuzzy = true str = string.sub(str, 2, -1) end - local wordIdx1, wordIdx2 = string.find(str, "%a[%w%-_]*") + local wordIdx1, wordIdx2 = string.find(str, "%a[%w%-_:]*") if wordIdx1 ~= nil then local value = string.sub(str, wordIdx1, wordIdx2) if not fuzzy and string.find(value, ":") == nil then