Multiple occurrences with multiline
I noticed that one cannot check if multiple occurrences span on multiple lines.
For instance let's consider this file text
Twice the same
multiple lines
Twice the same
multiple lines
And this should :
cat text
lr2:Twice the same\s*multiple lines
The output is
test.should
failed (1/2)
lr2:Twice the same\s*multiple lines
Meaning that one occurrence matched, not the second one.