diff --git a/library/lua/gui/widgets.lua b/library/lua/gui/widgets.lua index 67395b688..99733b84b 100644 --- a/library/lua/gui/widgets.lua +++ b/library/lua/gui/widgets.lua @@ -792,7 +792,8 @@ function FilteredList:setFilter(filter, pos) local ok = true local search_key = v.search_key or v.text for _,key in ipairs(tokens) do - if key ~= '' and not string.match(search_key, '%f[^%s\x00]'..key) then + if key ~= '' and + not string.match(search_key, '%f[^%s%p\x00]'..key) then ok = false break end