X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2FCommods.pm;h=f3ae56fcbd0e4827c2168f6ebd3f15cdc070a6b2;hp=bce9a8e13b2cb33afd05feb7ada3d2410aa5ea02;hb=f0b3edba71dfa86c261095b5c95f5e6633e143f7;hpb=8c65bca26f3f2da973f5edf140491d551b50e2ec diff --git a/yarrg/Commods.pm b/yarrg/Commods.pm index bce9a8e..f3ae56f 100644 --- a/yarrg/Commods.pm +++ b/yarrg/Commods.pm @@ -431,8 +431,8 @@ sub check_tsv_line ($$) { defined $commods{$commod} or &$bad_data("unknown commodity ".errsan($commod)); - $stall =~ m/^\p{IsUpper}|^[0-9]/ or - &$bad_data("stall not capitalised ".errsan($stall)); + $stall =~ m/^\p{IsAlnum}/ or + &$bad_data("stall does not start with alphanumeric ".errsan($stall)); !exists $check_tsv_done{$commod,$stall} or &$bad_data("repeated data ".errsan($commod).",".errsan($stall)); $check_tsv_done{$commod,$stall}= 1;