Checking that a string matches one regex and doesn't match another
Per PEP-8, you can ("Acceptable options in this situation include, but are not limited to...") further indent the second line of the condition:


# Add some extra indentation on the conditional continuation line.
if (this_is_one_thing
        and that_is_another_thing):
    do_something()



The difference is that indentation in the continuation lines is purely stylistic, whereas indentation of the next code block has semantic meaning. In your case:

if (not re.search(regexp, summary)
        and not re.search(regexp2, summary)):                   
    return False  


Note I have moved the and per the same guidance.