expekt icon indicating copy to clipboard operation
expekt copied to clipboard

.should.match not working with multiple line

Open theapache64 opened this issue 5 years ago • 0 comments

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))

theapache64 avatar May 04 '20 02:05 theapache64