Port from QRegExp to QRegularExpression
Port QRegExp::exactMatch() by using QRegularExpression::anchordPattern().