#ifndef Utils_H #define Utils_H #include "room.h" #include "user.h" #include #include #include #include #include #include #include namespace utils { static const QRegularExpression removeReplyRegex {"> <.*?>.*?\\n\\n", QRegularExpression::DotMatchesEverythingOption}; static const QRegularExpression removeRichReplyRegex {".*?", QRegularExpression::DotMatchesEverythingOption}; static const QRegularExpression codePillRegExp {"
]*>(.*?)
", QRegularExpression::DotMatchesEverythingOption}; static const QRegularExpression userPillRegExp {"(.*?)", QRegularExpression::DotMatchesEverythingOption}; static const QRegularExpression strikethroughRegExp {"(.*?)", QRegularExpression::DotMatchesEverythingOption}; } // namespace utils #endif