first cut of version number parser