Port QRegExp to QRegularExpression

And one other minor optimisation.
2 jobs for master in 10 minutes and 23 seconds
Status Job ID Name Coverage
  Build
passed #60264
build_clazy_clang_tidy

00:09:54

passed #60263
linux kf5-qt5 qt5.12

00:10:23

29.0%