test_str = (
    'KeylessBuy=f and not (Feedback.color = green or comment.color=green) \nand not "BIN State".color = white and comment="got it right"'
    )
regex with quotes, equal sign and dot for attribute/value pair