Refactoring the regular expression

The old one had the problem that in prerelease and build strings combinations like `+.---...` or `--...-..--` were valid. This version also invalidates versions starting with `0.0.0`.

See http://goo.gl/8mg75m for visual details