I want to return a bool value for the unmatched string
QRegExp rx("(?!test)");
bool unmatched = rx.exactMatch("txt"); false
if(rx.isValid()){
return unmatched;
}
It returns false every time no matter what string is passed. How can I match the same values?
Aucun commentaire:
Enregistrer un commentaire