2022-06-05 02:44:40 +00:00
|
|
|
#ifndef GLOBALREGEX_HH
|
|
|
|
#define GLOBALREGEX_HH
|
|
|
|
|
|
|
|
#include <QRegularExpression>
|
|
|
|
|
|
|
|
namespace RX
|
|
|
|
{
|
|
|
|
class Ftx
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static QRegularExpression regBrackets;
|
|
|
|
static QRegularExpression regSplit;
|
|
|
|
static QRegularExpression spacesRegExp;
|
|
|
|
static QRegularExpression wordRegExp;
|
|
|
|
static QRegularExpression setsRegExp;
|
|
|
|
static QRegularExpression regexRegExp;
|
2022-06-18 10:16:37 +00:00
|
|
|
static QRegularExpression handleRoundBracket;
|
|
|
|
static QRegularExpression noRoundBracket;
|
2022-10-07 02:17:44 +00:00
|
|
|
|
|
|
|
static QRegularExpression tokenBoundary;
|
|
|
|
|
|
|
|
static QRegularExpression token;
|
2022-06-05 02:44:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
class Mdx
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static QRegularExpression allLinksRe;
|
|
|
|
static QRegularExpression wordCrossLink;
|
|
|
|
static QRegularExpression anchorIdRe;
|
|
|
|
static QRegularExpression anchorIdReWord;
|
|
|
|
static QRegularExpression anchorIdRe2;
|
|
|
|
static QRegularExpression anchorLinkRe;
|
|
|
|
static QRegularExpression audioRe;
|
|
|
|
static QRegularExpression stylesRe;
|
|
|
|
static QRegularExpression stylesRe2;
|
|
|
|
static QRegularExpression inlineScriptRe;
|
|
|
|
static QRegularExpression closeScriptTagRe;
|
|
|
|
static QRegularExpression srcRe;
|
|
|
|
static QRegularExpression srcRe2;
|
2022-06-18 10:16:37 +00:00
|
|
|
|
|
|
|
static QRegularExpression links;
|
2022-10-03 12:28:16 +00:00
|
|
|
static QRegularExpression fontFace;
|
2022-10-11 12:57:04 +00:00
|
|
|
static QRegularExpression styleElment;
|
2022-06-05 02:44:40 +00:00
|
|
|
};
|
|
|
|
|
2022-11-19 08:34:31 +00:00
|
|
|
class Zim{
|
|
|
|
public:
|
|
|
|
static QRegularExpression linkSpecialChar;
|
|
|
|
};
|
|
|
|
|
2023-03-12 07:04:49 +00:00
|
|
|
class Epwing{
|
|
|
|
public:
|
|
|
|
static QRegularExpression refWord;
|
|
|
|
};
|
|
|
|
|
2022-06-05 02:44:40 +00:00
|
|
|
} // namespace RX
|
|
|
|
|
|
|
|
#endif // GLOBALREGEX_HH
|