mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 06:59:44 +07:00
OPENIDE fix search fragment amplicode url
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user