diff --git a/kotlin-native/tools/performance-server/ui/src/main/kotlin/main.kt b/kotlin-native/tools/performance-server/ui/src/main/kotlin/main.kt index 730516dd892..47cfc099d14 100644 --- a/kotlin-native/tools/performance-server/ui/src/main/kotlin/main.kt +++ b/kotlin-native/tools/performance-server/ui/src/main/kotlin/main.kt @@ -215,7 +215,7 @@ fun main(args: Array) { val branches: Array = JSON.parse(response) // Add release branches to selector. branches.filter { it != "master" }.forEach { - if ("v(\\d|\\.)+(-M\\d)?-fixes".toRegex().matches(it)) { + if ("^v?(\\d|\\.)+(-M\\d)?(-fixes)?$".toRegex().matches(it)) { val option = Option(it, it) js("$('#inputGroupBranch')").append(js("$(option)")) }