QRegExp::exactMatch -> QRegularExpression::anchoredPattern()
QRegExp::Wildcard -> QRegularExpression::wildcardToRegularExpression()
Replace one macro with a const char*.
Replace [\\w_] with [\\w], as \w matches a "word" character (alphanumeric
plus "_" among other things); see https://perldoc.perl.org/perlre.html