} elsif (m/^(.+) # the voter, can have spaces
\s*:\s+ # needs a colon and a space
((?:[$valid_options] # the vote
- \s*(?:,|=|<)?\s*)*) # allow < and , or =
+ \s*(?:,|=|>)?\s*)*) # allow > and , or =
\s*$/x # useless trailing spaces
) {
$voter = $1;
my $current_rank = 1;
my %option_rank;
while ($vote =~ /([$valid_options]) # the vote
- \s*((?:,|=|<)?)\s*/xg) {
+ \s*((?:,|=|>)?)\s*/xg) {
my ($option,$relationship) = ($1,$2);
$option_rank{$option} = $current_rank;
if ($relationship ne '=') {
print {$RESULTS} "V: $vote $voter\n";
} else {
- print STDERR "ignoring line '$_'; this is probably wrong!";
+ print STDERR "ignoring line '$_'; this is probably wrong!\n";
next;
}