human
I wrote the below code

    def remove_color(m):
        '\n                                Callback    function,    to    replace    a    colour    tag    with    its    content.\n                                '
        return ('%s' % m.group(2))
    text = re.sub('\\[color\\s*([a-z]+)\\](.*?)\\[\\/color\\]', remove_color, text)
    return text

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def remove_colors(text):