mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
Fix regex that matches a keyval line
This commit is contained in:
parent
c9c2426a7f
commit
b3a9c581a7
@ -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
|
||||
for lineNum, line := range lines {
|
||||
|
Loading…
Reference in New Issue
Block a user