1 #-------------------------------------------------------------
3 # parse_format('format',$isis_row);
16 if ($format =~ s/^([^\d]+)//) {
24 #print STDERR "#### $format\n";
25 if ($format =~ s/^(\d\d\d)(\w?)//) {
26 my $isis_tmp = isis_sf($row,$1,$2);
28 $display .= $prefix . $isis_tmp;
29 $swish .= $isis_tmp." ";
32 # this might be our local scpeciality -- fields 10 and 11
33 # (as opposed to 010 and 011) so they are strictly listed
35 } elsif ($format =~ s/^(1[01])//) {
36 my $isis_tmp = isis_sf($row,$1,$2);
38 $display .= $prefix . $isis_tmp;
39 $swish .= $isis_tmp." ";
42 } elsif ($format =~ s/^([^\d]+)(\d{0,3})/$2/) {
44 } elsif ($format =~ s/^([^\d]+\d{0,2})//) {
46 } elsif ($format =~ s/^(\d{1,2})//) {
49 print STDERR "unparsed format: $format\n";
55 $display .= $prefix if ($display);
57 return ($swish,$display);
60 #-------------------------------------------------------------