OPENIDE fix search fragment amplicode url

This commit is contained in:
Nikita Iarychenko
2025-04-15 20:55:54 +04:00
parent 75c5ae7396
commit c217462948

View File

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