AFAIK, this is a `not xor` expression. So we could write a single condition like this:
    `if not (self.reverse is not bool(self.regex.search(force_text(value)))):`
I'm not convinced this is any better in terms of readability, but I thought it was worth mentioning it.