From: Dirk Koopman Date: Mon, 8 Jun 2020 16:38:43 +0000 (+0100) Subject: lengthen trailing numeric part of prefix X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=157f14220c0cbc875729be41a3e3a2acd18f51e1;p=spider.git lengthen trailing numeric part of prefix to allow things like GB5000GCM etc --- diff --git a/perl/DXUtil.pm b/perl/DXUtil.pm index 20837f2f..d23cb92e 100644 --- a/perl/DXUtil.pm +++ b/perl/DXUtil.pm @@ -384,7 +384,7 @@ sub is_callsign { return $_[0] =~ m!^ (?:\d?[A-Z]{1,2}\d{0,2}/)? # out of area prefix / - (?:\d?[A-Z]{1,2}\d{1,2}) # main prefix one (required) + (?:\d?[A-Z]{1,2}\d{1,5}) # main prefix one (required) - lengthened for special calls [A-Z]{1,5} # callsign letters (required) (?:-(?:\d{1,2}))? # - nn possibly (eg G8BPQ-8) (?:/[0-9A-Z]{1,7})? # / another prefix, callsign or special label (including /MM, /P as well as /EURO or /LGT) possibly