void RegexValidator::checkImpl(const Context *ctx, const Param &value) const { if(!checkString(value.asString(ctx))) { throw ValidatorException(); } }