changed the regex to better fit expected format

This commit is contained in:
Theis
2024-03-04 08:07:53 +01:00
parent 65f72eb094
commit 2ab5c47eca
+1 -1
View File
@@ -52,7 +52,7 @@ func main() {
// builds the commit message with the selected authors
var sb strings.Builder
sb.WriteString(string(args[0])+"\n")
reg, _ := regexp.Compile("([^:]+):(.+)")
reg, _ := regexp.Compile("([^:]+):([^:]+)")
for _, commiter := range args[1:] {
if _, ok := users[commiter]; ok {