api

http4k / org.http4k.lens / regex

regex

fun Body.Companion.regex(pattern: String, group: Int = 1, contentType: ContentType = ContentType.TEXT_PLAIN, description: String? = null, contentNegotiation: ContentNegotiation = None): BiDiBodyLensSpec<String> (source) fun <IN : Any> BiDiLensSpec<IN, String>.regex(pattern: String, group: Int = 1): BiDiLensSpec<IN, String> (source) fun Path.regex(pattern: String, group: Int = 1): BiDiPathLensSpec<String> (source)