Improved sbt version regex to accept more types of versions. improved tests