7 lines
226 B
Lua
7 lines
226 B
Lua
fT = {}
|
|
function fres(p)
|
|
local fid = (p:match("(%a-):.+") or p:match("/?(%a-)/.+"))
|
|
local pt = (p:match("%a-:(.+)") or p:match("/?%a-/(.+)"))
|
|
if fT[fid] ~= nil and pt ~= nil then return fT[fid],pt else return false end
|
|
end
|