If ((type(tgt) == "function.

"^([^:]+):(.*)" else splitter = "^([^:]+):(.*)" else splitter = "^([^.]+)%.(.*)" end local.