MSIE version "TP" comes after "11", obviously!
This is the only non-numeric version number for now, see how it develops.
# normalised version number comparable as string (cmp)
shift =~ /(?:.*-|^)(\d*)(.*)/;
# matched (major)(.minor) of last value in range (a-B)
# normalised version number comparable as string (cmp)
shift =~ /(?:.*-|^)(\d*)(.*)/;
# matched (major)(.minor) of last value in range (a-B)
- return sprintf('%02d', $1 || 0) . $2;
+ return sprintf('%02d', $1 || 99) . $2;