import re


def list_all_links_in_page(source: str):
    """Return all the urls in 'src' and 'href' tags in the source.

    Args:
        source: a strings containing the source code of a webpage.

    Returns:
        A list of all the 'src' and 'href' links
        in the source code of the webpage.
    """
    return re.findall(
        r'src\s*=\s*"([^"]+)"',
        source,
    ) + re.findall(
        r'href\s*=\s*"([^"]+)"',
        source,
    )