Updated CQ spec to include CQ FIELD and CQ CONTEST

This commit is contained in:
Jordan Sherer 2019-01-20 13:15:23 -05:00
parent d722b8206c
commit 10ecd059d1

View File

@ -123,7 +123,7 @@ QRegularExpression directed_re("^" +
optional_cmd_pattern + optional_cmd_pattern +
optional_num_pattern); optional_num_pattern);
QRegularExpression heartbeat_re(R"(^\s*(?<type>CQCQCQ|CQ QRPP?|CQ DX|CQ TEST|CQ( CQ){0,2}|HB( AUTO)?( RELAY)?( SPOT)?)(?:\s(?<grid>[A-R]{2}[0-9]{2}))?\b)"); QRegularExpression heartbeat_re(R"(^\s*(?<type>CQCQCQ|CQ QRP|CQ FIELD|CQ DX|CQ CONTEST|CQ( CQ){0,2}|HB( AUTO)?( RELAY)?( SPOT)?)(?:\s(?<grid>[A-R]{2}[0-9]{2}))?\b)");
QRegularExpression compound_re("^\\s*[`]" + QRegularExpression compound_re("^\\s*[`]" +
callsign_pattern + callsign_pattern +
@ -198,8 +198,8 @@ QMap<quint32, QString> cqs = {
{ 0, "CQCQCQ" }, { 0, "CQCQCQ" },
{ 1, "CQ DX" }, { 1, "CQ DX" },
{ 2, "CQ QRP" }, { 2, "CQ QRP" },
{ 3, "CQ TEST" }, { 3, "CQ CONTEST" },
{ 4, "CQ QRPP" }, { 4, "CQ FIELD" },
{ 5, "CQ"}, { 5, "CQ"},
{ 6, "CQ CQ"}, { 6, "CQ CQ"},
{ 7, "CQ CQ CQ"}, { 7, "CQ CQ CQ"},