28 QString emptyStringRegExp(
"^$");
29 QString portIdentifierOrEmptyStringRegExp = portIdentifierRegExp
31 .append(emptyStringRegExp);
33 QRegularExpressionValidator *validator =
new QRegularExpressionValidator(QRegularExpression(portIdentifierOrEmptyStringRegExp),
this);