fix deckstats.net regex (#2886)

This commit is contained in:
Zach H 2017-10-04 23:36:42 -04:00 committed by GitHub
parent 9cbdc4195e
commit 96b30da492

View file

@ -28,8 +28,8 @@ void DeckStatsInterface::queryFinished(QNetworkReply *reply)
QString data(reply->readAll());
reply->deleteLater();
QRegExp rx("<meta property=\"og:url\" content=\"([^\"]+)\"/>");
QRegExp rx("<meta property=\"og:url\" content=\"([^\"]+)\"");
if (-1 == rx.indexIn(data)) {
QMessageBox::critical(0, tr("Error"), tr("The reply from the server could not be parsed."));
deleteLater();