01Nov00=======================================================================
1. put PC11 field 2 check back to m for pc text.
+2. improve 'simple' callsign checking
31Oct00=======================================================================
1. add 0x8e to the list of characters we clobber (make xterm go into graphics
mode).
# check that a field only has callsign characters in it
sub is_callsign
{
- return $_[0] =~ /^[A-Z0-9\-]+$/;
+ return $_[0] =~ /^(?:[A-Z]{1,2}\d+|\d[A-Z]\d+)[A-Z0-9\/\-]+$/;
}
# check that a PC protocol field is valid text