@staticmethod<EOL><INDENT>def user_project_from_remote(remote):<DEDENT>
<EOL>regex1 = br"<STR_LIT>"br"<STR_LIT>"<EOL>match = re.match(regex1, remote)<EOL>if match:<EOL><INDENT>return match.group("<STR_LIT:user>"), match.group("<STR_LIT>")<EOL><DEDENT>regex2 = r"<STR_LIT>"<EOL>match = re.match(regex2, remote)<EOL>if match:<EOL><INDENT>return match.group("<STR_LIT:user>"), match.group("<STR_LIT>")<EOL><DEDENT>return None, None<EOL>
Try to find user and project name from git remote output

@param [String] output of git remote command
@return [Array] user and project