#ifndef MYRE_H #define MYRE_H #include #include"common.h" QT_BEGIN_NAMESPACE namespace Ui { class Myre; } QT_END_NAMESPACE using namespace DJY; class Myre : public QMainWindow { Q_OBJECT public: Myre(QWidget *parent = nullptr); ~Myre(); QSet getAllMatchResults(const QString text,const QString regexp) { QSetresultSet; QRegExp rx(regexp); int pos=0; while((pos=rx.indexIn(text,pos))!=-1) { pos += rx.matchedLength(); QString result=rx.cap(0); resultSet<