put duplicate checking into respective modules and out of DXProt.
[spider.git] / perl / client.pl
index 91d4add615bf049cc2fbaa3380c0c99437878a83..f59c5847c09be00f2cb481be4387331899a2a92d 100755 (executable)
@@ -102,7 +102,7 @@ sub rec_socket
                cease(1);
        }
        if (defined $msg) {
-               my ($sort, $call, $line) = $msg =~ /^(\w)([A-Z0-9\-]+)\|(.*)$/;
+               my ($sort, $call, $line) = $msg =~ /^(\w)([^\|]+)\|(.*)$/;
                
                if ($sort eq 'D') {
                        my $snl = $mynl;