@Override
    protected void onDeserialize(Deserializer buf) {
        pattern = getUtf8(buf);
        expression = (ExpressionNode)deserializeOptional(buf);
    }
Protocol class for {@code RegexPredicate}.

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