5#ifndef CUTELYSTVALIDATORREGEX_H
6#define CUTELYSTVALIDATORREGEX_H
8#include "validatorrule.h"
10#include <QRegularExpression>
14class ValidatorRegularExpressionPrivate;
50 const QRegularExpression ®ex,
52 const QString &defValKey = QString());
71 QString genericValidationError(
Context *c,
72 const QVariant &errorData = QVariant())
const override;
The field under validation must match the given regular expression.
~ValidatorRegularExpression() override
Base class for all validator rules.
QMultiMap< QString, QString > ParamsMultiMap
The Cutelyst namespace holds all public Cutelyst API.
Stores custom error messages and the input field label.
Contains the result of a single input parameter validation.