OPENIDE fix search fragment amplicode url

(cherry picked from commit 4da45b35dc)
This commit is contained in:
Nikita Iarychenko
2025-04-15 20:55:54 +04:00
parent 42c39399e2
commit 100cdf5190

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)
}