Fixed parseItemFilterExpression.

This commit is contained in:
Andrew Lalis 2022-12-21 14:39:55 +01:00
parent 9fa52dce96
commit 0d3688d7fc
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ end
Prepending # will do a fuzzy match using string.find. Prepending # will do a fuzzy match using string.find.
]]-- ]]--
local function parseItemFilterExpression(expr) local function parseItemFilterExpression(expr)
local prefixIdx, prefixIdxEnd = string.find(expr, "^[!#]*") local prefixIdx, prefixIdxEnd = string.find(expr, "^[!#]+")
local fuzzy = false local fuzzy = false
local negated = false local negated = false
if prefixIdx ~= nil then if prefixIdx ~= nil then