I was trying to make this code works and notice something about it...
Code: Select all
QRegularExpression expressaoNomes("[\\w\\d-*]+"); // This pattern does not match. But WHY ?!?
//QRegularExpression expressaoNomes("[\\w\\d*-]+"); // This pattern does match.
QString str = QString::fromUtf8("asdf*");
auto m = expressaoNomes.match(str);
if(m.hasMatch())
spdlog::info("{}", m.captured().toStdString());
Sorry about my english.
The version of Copperspice that I am using is 1.7.2 compiled with MinGW 11.2.0 X64 with ICU 69.1 and OpenSSL 1.1.1l.