Expose the regex used to parse versions as a public constant

Should the leading/trailing whitespace be included here too? You're planning on putting this in a filename, do you want to be able to do ``foo-   1.0.tar.gz``?