human
I wrote the below code

    @none_if_empty
    def regexp_to_list_lambda(value):
        result = re.findall(pattern, value)
        if (result == []):
            return None
        return result
    return regexp_to_list_lambda

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

def regexp_to_list(pattern):