[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Popcon-developers] popcon-submit.cgi regexp



Hello Petter,

In popcon-submit.cgi, there is 
my ($id) = $entry[0] =~ m/POPULARITY-CONTEST-0 .+ ID:(\S+) /;

I am not sure I see the point of checking that at this stage
(this is redundant with prepop.pl) but you want to check that,
why not use the same regexp as prepop.pl: ID:([a-f0-9]{32})

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 


Reply to: