Fix regex that matches a keyval line

This commit is contained in:
Mustafa Gezen 2021-04-27 16:13:15 +02:00
parent c9c2426a7f
commit b3a9c581a7

View File

@ -248,7 +248,7 @@ func specChange(cfg *srpmprocpb.Cfg, pd *data.ProcessData, md *data.ModeData, _
} }
} }
fieldValueRegex := regexp.MustCompile("^[A-Z].+:") fieldValueRegex := regexp.MustCompile("^[a-zA-Z0-9]+:")
longestField := 0 longestField := 0
for lineNum, line := range lines { for lineNum, line := range lines {