import re


def camel_to_snake(text: str) -> str:
    """
    A helper function to convert `camelCase` to `snake_case`.
    - e.g. `bestBigBrawlerTime` -> `best_big_brawler_time`

    ### Parameters
    text: `str`
        The text to restructure from `camelCase` to `snake_case`.

    ### Returns
    `str`
        The restructured `snake_case` text.
    """
    return re.compile(r"(?<!^)(?=[A-Z])").sub("_", text).lower()