import re


def parse_name(content):
    """
        Finds the name of the man page.
    """
    # Create regular expression
    name_regex = re.compile(r"^([\w\.-]*)")
    # Get name of manual page
    just_name = name_regex.search(content)
    name_str = ""

    if just_name is not None:
        name_str = just_name.group(1)

    return name_str