D19419: [KdePlasma-Addons/POTD/NOAA] Fixed RegEx string to suit latest changes on the webpage
David Edmundson
noreply at phabricator.kde.org
Tue Mar 5 22:19:28 GMT 2019
davidedmundson added inline comments.
INLINE COMMENTS
> noaaprovider.cpp:93
> QString url;
> - QRegularExpression re(QStringLiteral("a href='(.*)'><img style"), QRegularExpression::MultilineOption);
> + QRegularExpression re(QStringLiteral("a//s+href='(.*)'//s*>[//s//n]*<//s*img//s+style"), QRegularExpression::CaseInsensitiveOption);
> auto result = re.match(data);
Why are we losing multiline?
REPOSITORY
R114 Plasma Addons
REVISION DETAIL
https://phabricator.kde.org/D19419
To: tagorechandanreddy, ngraham, davidedmundson
Cc: plasma-devel, ngraham, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190305/18fff2a5/attachment.html>
More information about the Plasma-devel
mailing list