fixed cluster->client regex so the |---| works correctly as data
[spider.git] / perl / cluster.pl
index 94fe0478664473b657b6297b9189ae8e091c1696..d1bc62573a9cd336f1fd33a63228508446ff91d3 100755 (executable)
@@ -230,7 +230,7 @@ sub process_inqueue
        
        my $data = $self->{data};
        my $dxchan = $self->{dxchan};
-       my ($sort, $call, $line) = $data =~ /^(\w)(\S+)\|(.*)$/;
+       my ($sort, $call, $line) = $data =~ /^(\w)([A-Z0-9\-]+)\|(.*)$/;
 
        # the above regexp must work
        return unless ($sort && $call && $line);