Latest release indicates identical versions as "a-b". Only keep minimum
value in column headers, but compare usage rows to maximum (so opera v9.6
matches 9.5-9.6 instead of 10.0-10.1).
sub paddedver {
# normalised version number comparable as string (cmp)
- shift =~ /^(\d*)(.*)/;
+ shift =~ /(?:.*-|^)(\d*)(.*)/;
+ # matched (major)(.minor) of last value in range (a-B)
return sprintf('%02d', $1 || 0) . $2;
}
for (@span) {
s/^\./0./;
s/x$/.*/;
+ s/-.*//;
}
return join('‒', @span);
}