com.justai.jaicf.helpers.http.URL.kt Maven / Gradle / Ivy
package com.justai.jaicf.helpers.http
fun String.toUrl() = this.replace("(?<=[^:\\s])(/+/)".toRegex(), "/")
package com.justai.jaicf.helpers.http
fun String.toUrl() = this.replace("(?<=[^:\\s])(/+/)".toRegex(), "/")