1 2 3 4 5 6 7 8
local match = string.match; module "jid" function split(jid) return match(jid, "^([^@]+)@([^/]+)/?(.*)$"); end