expekt
expekt copied to clipboard
.should.match not working with multiple line
Is there anyway you can support multi-line matching? :smile:
"""
This is
some multiline 123
text
""".trimIndent().should.match("some multiline \\d+".toRegex(RegexOption.MULTILINE))