SemVer: Make groupingRegex private (why was it public? :S).
test/SemVerTest: Inline a few statements.
SemVer: Add a matches(String): boolean method & use it in tests.