util/jid.lua

Sun, 24 Aug 2008 18:01:20 +0100

author
matthew@silver
date
Sun, 24 Aug 2008 18:01:20 +0100
changeset 5
57e4eb3aeac0
child 27
859b316e2fb0
permissions
-rw-r--r--

Added all the files to please hg :/


local match = string.match;

module "jid"

function split(jid)
	return match(jid, "^([^@]+)@([^/]+)/?(.*)$");
end

mercurial