<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def space_out_camel_case(stringAsCamelCase):
 """ Adds spaces to a camel case string. Failure to space out string returns the original string. 'DMLS Services Other BS Text LLC' """

    pattern = re.compile(r'([A-Z][A-Z][a-z])|([a-z][A-Z])')

    if stringAsCamelCase is None:
        return None

    return pattern.sub(lambda m: m.group()[:1] + " " + m.group()[1:], stringAsCamelCase)