human
I wrote the below code

    def to_ins(match):
        char = match.group(1)
        return ('[%s%s]' % (char.lower(), char.upper()))
    return re.sub('([a-zA-Z])', to_ins, string)

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

def insensitize(string):