It would be great to support regex groups, mainly for uncaptured groups.
Here is a proposition of code in the parseBranchNameByRegex method of the CommitMessage.java file :
while (m.find()) {
if(m.groupCount() == 0) {
sb.append(m.group() + " ");
}
else{
for(int i = 1; i <= m.groupCount(); ++i) {
sb.append(m.group(i) + " ");
}
}
}
It would be great to support regex groups, mainly for uncaptured groups. Here is a proposition of code in the parseBranchNameByRegex method of the CommitMessage.java file : while (m.find()) { if(m.groupCount() == 0) { sb.append(m.group() + " "); } else{ for(int i = 1; i <= m.groupCount(); ++i) { sb.append(m.group(i) + " "); } } }