Skip to content

Commit

Permalink
Merge pull request #312 from bpedersen2/39010
Browse files Browse the repository at this point in the history
[JENKINS-39010] CommentAddedRegex: Input is a multiline message
  • Loading branch information
rsandell committed May 10, 2017
2 parents 31a31de + 79fcc68 commit 25b4597
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -111,8 +111,9 @@ public boolean match(GerritTriggeredEvent event) {
return false;
}
Pattern p = Pattern
.compile(commentAddedCommentContains, Pattern.DOTALL);
.compile(commentAddedCommentContains, Pattern.DOTALL | Pattern.MULTILINE);
CommentAdded ca = (CommentAdded)event;
logger.debug("input comment: '{}'", ca.getComment());
return p.matcher(ca.getComment()).find();
}
}

0 comments on commit 25b4597

Please sign in to comment.