func (e haveContentMatchingExpression) getViolation(filePath string) rule.CoreViolation {
    format := "file '%s' does not have content matching '%s'"

    if e.options.matchSingleLines {
        format = "file '%s' does not have all lines matching '%s'"