Also match non-patchlevel versions

The regex only matched 3 number versions, 2.1 its perfectly fine installed with the version string being only "2.1"