(self, imagerepo)
return False
Check if name matches authorized characters for a docker repo
Check if name matches authorized characters for a docker repo
Check if name matches authorized characters for a docker repo
def is_repo_name(self, imagerepo):
        """Check if name matches authorized characters for a docker repo"""
        if imagerepo and re.match("^[a-zA-Z0-9][a-zA-Z0-9-_./:]+$", imagerepo):
            return True
        return False
def is_repo_name ( self , imagerepo ) : if imagerepo and re . match ( "^[a-zA-Z0-9][a-zA-Z0-9-_./:]+$" , imagerepo ) : return True return False