Repair strict standard callsign regexp

This commit is contained in:
Bill Somerville 2020-11-16 02:32:06 +00:00
parent 4c05f80a2e
commit c133a84889
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -22,7 +22,7 @@ namespace Radio
QRegularExpression valid_callsign_regexp {R"(\d[[:alpha:]]|[[:alpha:]]\d)"}; QRegularExpression valid_callsign_regexp {R"(\d[[:alpha:]]|[[:alpha:]]\d)"};
// standard callsign // 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 // suffixes that are often used and should not be interpreted as a
// DXCC Entity prefix used as a suffix // DXCC Entity prefix used as a suffix