I don’t know what’s wrong with that: ``` val rege...
# getting-started
f
I don’t know what’s wrong with that:
Copy code
val regex = Regex("""\bfuck\b""")
        assertTrue(regex matches "ok fuck you")
there is no match
d
From
matches
documentation:
Indicates whether the regular expression matches the entire input.
You want
containsMatchIn
.
👍 1
f
Arf 😞 thank you @diesieben07 I was focus only on influx method