Do not match leading zeroes in version

This is part of a series of changes to address #1, though this is by no
means complete.