public static Matcher<String> containsLineWithPattern(String pattern) {
        return new LinePatternMatcher(pattern);
    }
Checks if a multi-line string contains at least one line with the expected regex pattern.

@author gjoranv
@since 5.1.7
testutil/src/main/java/com/yahoo/test/LinePatternMatcher.java