@Override
    public int hashCode() {
        return Objects.hash(pattern, expression);
    }
Protocol class for {@code RegexPredicate}.

@author bjorncs
searchlib/src/main/java/com/yahoo/searchlib/expression/RegexPredicateNode.java