Allow e.g. '.1' and '2.'
Amended to allow e.g. '.1'
version to 2.1.0