Return [original_line, url_footnote1, url_footnote2, ... url_footnoteN] for N bad footnotes in the line

def get_line_bad_footnotes(line, tag=None, include_tags=None):
    """ Return [original_line, url_footnote1, url_footnote2, ... url_footnoteN] for N bad footnotes in the line """ 
    if tag is None or include_tags is None or tag in include_tags or any((tag.startswith(t) for t in include_tags)):
        found_baddies = re_bad_footnotes.findall(line)
        return [line] + [baddie[0] for baddie in found_baddies]
    return [line]