(username)
return match.group(0)
Returns a linux safe username.
    :param username: Name of the user (could include @domain.com)
    :return: Username string that complies with IEEE Std 1003.1-2001
Returns a linux safe username.
    :param username: Name of the user (could include
Returns a linux safe username . : param username : Name of the user ( could include
def get_linux_username(username):
    """
    Returns a linux safe username.
    :param username: Name of the user (could include @domain.com)
    :return: Username string that complies with IEEE Std 1003.1-2001
    """
    match = re.search('[.a-zA-Z]+', username)
    return match.group(0)
def get_linux_username ( username ) : match = re . search ( '[.a-zA-Z]+' , username ) return match . group ( 0 )