Use Perl-compatible regexes for RSS rules. Closes #6367.

--HG--
branch : magao-dev
This commit is contained in:
Tim Delaney
2017-02-11 16:33:18 +11:00
parent d045f64ebb
commit f9abd254f4
6 changed files with 81 additions and 42 deletions

View File

@@ -34,7 +34,6 @@
#include <QDialog>
#include <QHideEvent>
#include <QPair>
#include <QRegExpValidator>
#include <QSet>
#include <QShortcut>
#include <QShowEvent>
@@ -58,6 +57,7 @@ namespace Rss
QT_BEGIN_NAMESPACE
class QListWidgetItem;
class QRegularExpression;
QT_END_NAMESPACE
class AutomatedRssDownloader: public QDialog
@@ -113,7 +113,7 @@ private:
QListWidgetItem *m_editedRule;
Rss::DownloadRuleList *m_ruleList;
Rss::DownloadRuleList *m_editableRuleList;
QRegExp *m_episodeRegex;
QRegularExpression *m_episodeRegex;
QShortcut *editHotkey;
QShortcut *deleteHotkey;
QSet<QPair<QString, QString >> m_treeListEntries;