OPENIDE fix search fragment amplicode url

This commit is contained in:
Nikita Iarychenko
2025-04-15 20:55:54 +04:00
parent 5693fce18b
commit 4da45b35dc

View File

@@ -66,7 +66,7 @@ object OpenIdePluginBundler {
}
private fun String.extractMajorVersion(): String? {
val regex = Regex("""-(\d+?)-""")
val regex = Regex("""-(\d+?)(?:-EAP)?$""")
val match = regex.find(this)
return match?.groupValues?.get(1)
}