From e7d48e0f5bfe9934e167ba21d158f11ef2513354 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 22 Dec 2020 09:57:48 -0500 Subject: [PATCH] Revert "Allow 2x1 calls in the "strict_standard_callsign_re" regular expression." This reverts commit 575a5c5a7a07ab9aa1332705ed12b2cd69971581. --- Radio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Radio.cpp b/Radio.cpp index ebb6c6fba..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]{1,2}[0-9]?|[0-9A-Z][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