[Popcon-developers] popcon-submit.cgi regexp

Bill Allombert allomber at math.u-bordeaux.fr
Sat Oct 7 16:16:43 UTC 2006


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 at debian.org>

Imagine a large red swirl here. 



More information about the Popcon-developers mailing list