Fixed parseItemFilterExpression.
This commit is contained in:
parent
9fa52dce96
commit
0d3688d7fc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue