Had a misunderstanding about leading zeroes in prerelease identifiers, fix this in the regression suite.
Update code to match regression test, change types to be more uniformly camelcase