diff --git a/dataengines/potd/noaaprovider.cpp b/dataengines/potd/noaaprovider.cpp
--- a/dataengines/potd/noaaprovider.cpp
+++ b/dataengines/potd/noaaprovider.cpp
@@ -58,7 +58,7 @@
// to use heavy weight QtWebkit. So we use QRegularExpression to capture
// the wanted url here.
QString url;
- QRegularExpression re(QStringLiteral("href=\".*\\/content\\/(.*)\">[\\s\\n]*<\\s*img\\s+alt=\"Latest\\s*Image\\s+of\\s+the\\s+Day"), QRegularExpression::CaseInsensitiveOption);
auto result = re.match(data);
if (result.hasMatch())
{
@@ -90,7 +90,7 @@
// to use heavy weight QtWebkit. So we use QRegularExpression to capture
// the wanted url here.
QString url;
- QRegularExpression re(QStringLiteral("a href='(.*)'>[//s//n]*/s*img//s+style"), QRegularExpression::CaseInsensitiveOption);
auto result = re.match(data);
if (result.hasMatch()) {
url = result.captured(1);