From 85895feeaf88bcde26bbfc71e8f6b2047c0f5f41 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 9 Sep 2021 22:49:00 +0200 Subject: New upstream version 2.5.0~rc6+repack --- Decoder/decodedtext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Decoder/decodedtext.cpp') diff --git a/Decoder/decodedtext.cpp b/Decoder/decodedtext.cpp index 621aeea1..bc7587f6 100644 --- a/Decoder/decodedtext.cpp +++ b/Decoder/decodedtext.cpp @@ -23,7 +23,7 @@ DecodedText::DecodedText (QString const& the_string) , is_standard_ {false} { // discard appended AP info - clean_string_.replace (QRegularExpression {R"(^(.*?)(?:\?\s)?a[0-9].*$)"}, "\\1"); + clean_string_.replace (QRegularExpression {R"(^(.*?)(?:\?\s)?(?:a|q)[0-9].*$)"}, "\\1"); // qDebug () << "DecodedText: the_string:" << the_string << "Nbsp pos:" << the_string.indexOf (QChar::Nbsp); if (message_.length() >= 1) -- cgit v1.2.3