Support for contest operating in Q65 mode

This commit is contained in:
Bill Somerville
2021-08-15 23:22:45 +01:00
parent 8cbf31ebdf
commit 84ebec424a
2 changed files with 24 additions and 28 deletions
+1 -1
View File
@@ -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)