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): <ERROR CLASS> fun <IN : Any> BiDiLensSpec<IN, String>.regex(pattern: String, group: Int = 1): BiDiLensSpec<IN, String> fun Path.regex(pattern: String, group: Int = 1): BiDiPathLensSpec<String>