Port QRegExp::exactMatch() by making the QRegularExpression pattern anchored. testoctave unit test still passes.