human
I wrote the below code

    delimiters = re.compile('([{}]+)'.format(''.join(map(re.escape, ',.$:/+@!?()<>[]{}'))))
    def soft_break_delimiter(match):
        results = []
        value = match.group(0)
        chunks = delimiters.split(value)
        for (i, chunk) in enumerate(chunks):
            if ((i % 2) == 1):
                results.extend([chunk, u'\u200b'])
            else:
                results.append(process(chunk))
        return u''.join(results).rstrip(u'\u200b')
    return re.sub('\\S{{{},}}'.format(length), soft_break_delimiter, value)

What's a good function header?

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

def soft_break(value, length, process=(lambda chunk: chunk)):