in src/rider/main/kotlin/com/jetbrains/rider/plugins/efcore/cli/api/models/DotnetEfVersion.kt [11:19]
fun parse(version: String): DotnetEfVersion? {
val match = SEMVER_REGEX.find(version) ?: return null
if (match.groups.size < 3) {
return null
}
return fromStrings(match.groups[1]!!.value, match.groups[2]!!.value, match.groups[3]!!.value)
}