Fixed parser again...
This commit is contained in:
parent
74821942cb
commit
035c7a4a70
|
@ -66,9 +66,10 @@ local function parseItemFilterExpression(expr)
|
||||||
local negated = false
|
local negated = false
|
||||||
if prefixIdx ~= nil then
|
if prefixIdx ~= nil then
|
||||||
for i = prefixIdx, prefixIdxEnd do
|
for i = prefixIdx, prefixIdxEnd do
|
||||||
if expr[i] == "!" then
|
local char = string.sub(expr, i, i)
|
||||||
|
if char == "!" then
|
||||||
negated = true
|
negated = true
|
||||||
elseif expr[i] == "#" then
|
elseif char == "#" then
|
||||||
fuzzy = true
|
fuzzy = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue