From 900933e3fd711264c372e6c6f4a3a4ee8731039d Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 6 Sep 2019 20:23:41 +0100 Subject: [PATCH] Allow double-click of decode with unmapped hash code This allows the DX call and messages to be populated from decodes where the first callsign is an unresolved hash code <...>. --- decodedtext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decodedtext.cpp b/decodedtext.cpp index 98ef9c066..282bb6a31 100644 --- a/decodedtext.cpp +++ b/decodedtext.cpp @@ -10,7 +10,7 @@ extern "C" { namespace { - QRegularExpression words_re {R"(^(?:(?(?:CQ|DE|QRZ)(?:\s?DX|\s(?:[A-Z]{1,4}|\d{3}))|[A-Z0-9/]+)\s)(?:(?[A-Z0-9/]+)(?:\s(?[-+A-Z0-9]+)(?:\s(?(?:OOO|(?!RR73)[A-R]{2}[0-9]{2})))?)?)?)"}; + QRegularExpression words_re {R"(^(?:(?(?:CQ|DE|QRZ)(?:\s?DX|\s(?:[A-Z]{1,4}|\d{3}))|[A-Z0-9/]+|\.{3})\s)(?:(?[A-Z0-9/]+)(?:\s(?[-+A-Z0-9]+)(?:\s(?(?:OOO|(?!RR73)[A-R]{2}[0-9]{2})))?)?)?)"}; } DecodedText::DecodedText (QString const& the_string)