@@ -61,10 +61,9 @@ class ParsedCommitMessage {
|
||||
private static final Pattern ORIGINAL_PULL_REQUEST = Pattern
|
||||
.compile("Original (?>pull request|PR|pullrequest)[:]*(?>\\s+)?" + A_TICKET.pattern(), Pattern.CASE_INSENSITIVE);
|
||||
|
||||
private static final Pattern RELATED_TICKET = Pattern.compile(
|
||||
"(?>(?>Related (?>tickets|ticket))|(?>Ticket)|(?>Related))[:]*(?>\\s+)?((" + A_TICKET.pattern()
|
||||
+ "(?>[\\s,]*))+)",
|
||||
Pattern.CASE_INSENSITIVE);
|
||||
private static final Pattern RELATED_TICKET = Pattern
|
||||
.compile("(?>(?>Related (?>tickets|ticket))|(?>Ticket)|(?>Related))[:]*(?>\\s+)?((" + A_TICKET.pattern()
|
||||
+ "(?>[\\s,]*))+)", Pattern.CASE_INSENSITIVE);
|
||||
|
||||
private final String summary;
|
||||
private final @Nullable String body;
|
||||
|
||||
Reference in New Issue
Block a user