Improve Regexp

Vandamme may recognize version like `0.0.1.` is correct.

How it works:
http://rubular.com/r/xQioqMb1YP
http://rubular.com/r/f4jZjFLKeo