Relax parsing of version strings.