@Override
    public RegexPredicateNode clone() {
        return new RegexPredicateNode(pattern, expression != null ? expression.clone() : null);
    }
Protocol class for {@code RegexPredicate}.

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