// SPDX-FileCopyrightText: 2018 Black Hat // SPDX-License-Identifier: GPL-3.0-only #pragma once #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}; static const QRegularExpression mxcImageRegExp{R"AAA()AAA"}; }