From f0b3edba71dfa86c261095b5c95f5e6633e143f7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 8 Jan 2011 15:26:22 +0000 Subject: [PATCH] upload server: permit stalls which start with lowercase letters --- yarrg/Commods.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2