import re


def conflate_spaces(text):
    """
    Conflates space characters into a single space in a string.

    :param text: the string to cleanup.
    :return: the input string, with the space characters conflated.
    """
    return re.sub(r"\s+", " ", text)