From c133a848894944954048d377cd867cb1a26435d2 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Mon, 16 Nov 2020 02:32:06 +0000 Subject: [PATCH] Repair strict standard callsign regexp --- Radio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Radio.cpp b/Radio.cpp index 56b943739..79b332fbd 100644 --- a/Radio.cpp +++ b/Radio.cpp @@ -22,7 +22,7 @@ namespace Radio QRegularExpression valid_callsign_regexp {R"(\d[[:alpha:]]|[[:alpha:]]\d)"}; // standard callsign - QRegularExpression strict_standard_callsign_re {R"(^([A-Z][0-9]?|[0-9][A-Z])[0-9][A-Z]{0,3}$)"}; + QRegularExpression strict_standard_callsign_re {R"(^([A-Z][0-9]?|[0-9A-Z][A-Z])[0-9][A-Z]{0,3}$)"}; // suffixes that are often used and should not be interpreted as a // DXCC Entity prefix used as a suffix