toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-core
/
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
>
fun
<
IN
:
Any
>
BiDiLensSpec
<
IN
,
String
>
.
regex
(
pattern
:
String
)
:
BiDiLensSpec
<
IN
,
String
>
fun
Path
.
regex
(
pattern
:
String
)
:
BiDiPathLensSpec
<
String
>