Looser regex to accomodate more valid versions. Fixes #7. Fixes #8.