replaceDestructured

inline fun String.replaceDestructured(regex: Regex, crossinline transform: (group1: String) -> String): String(source)
inline fun String.replaceDestructured(regex: Regex, crossinline transform: (group1: String, group2: String) -> String): String(source)
inline fun String.replaceDestructured(regex: Regex, crossinline transform: (group1: String, group2: String, group3: String) -> String): String(source)
inline fun String.replaceDestructured(regex: Regex, crossinline transform: (group1: String, group2: String, group3: String, group4: String) -> String): String(source)
inline fun String.replaceDestructured(regex: Regex, crossinline transform: (group1: String, group2: String, group3: String, group4: String, group5: String) -> String): String(source)