replaceDestructured

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

Sources

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard