diff --git a/gma.lua b/gma.lua index f4f931c..4cd7c1d 100644 --- a/gma.lua +++ b/gma.lua @@ -86,7 +86,7 @@ local function decode(json --[[@param json string]]) ---@return table end local function wildcard2pattern(s --[[@param s string]]) - return "^%./" .. s:gsub("%.", "%%."):gsub("%*", ".*") + return "^%./" .. s:gsub("%.", "%%."):gsub("%*", ".*") .. "$" end do