This would be a nice opportunity for some community effort in coming up with a sane pattern for version checking.
https://docs.oracle.com/javase/7/doc...x/Pattern.html
Test version strings (eg. 'v2.08-3a') here and submit pattern proposals
http://ocpsoft.org/tutorials/regular...-regex-tester/