Unknown command can be fixed by changing:
$regex($1-,/(?:http:\/\/|^)(.*?)(\/.*)/i)
to
noop $regex($1-,/(?:http:\/\/|^)(.*?)(\/.*)/i)