diff --git a/IFComp/script/populate_ifdb_ids.pl b/IFComp/script/populate_ifdb_ids.pl index 1d102880..6a2d8b38 100755 --- a/IFComp/script/populate_ifdb_ids.pl +++ b/IFComp/script/populate_ifdb_ids.pl @@ -76,7 +76,7 @@ sub entry_for_tuid { # Find the link whose URL looks like a ballot link, containing an IFComp entry ID foreach my $link (@links) { my $url = @{ $link->getElementsByTagName("url") }[0]->textContent; - if ( $url =~ /^https:\/\/ifcomp.org\/ballot\/#entry-(\d+)$/ ) { + if ( $url =~ /^https:\/\/ifcomp.org\/ballot\/?#entry-(\d+)$/ ) { my $entry_id = $1; print "entry_id $entry_id => $tuid\n"; return $1;