diff --git a/pkg/rpmutils/regex.go b/pkg/rpmutils/regex.go index 477d7f8..3c8f266 100644 --- a/pkg/rpmutils/regex.go +++ b/pkg/rpmutils/regex.go @@ -3,4 +3,4 @@ package rpmutils import "regexp" // Nvr is a regular expression that matches a NVR. -var Nvr = regexp.MustCompile("^(\\S+)-([\\w~%.+]+)-(\\w+(?:\\.[\\w+]+)+?)(?:\\.rpm)?$") +var Nvr = regexp.MustCompile("^(\\S+)-([\\w~%.+]+)-(\\w+(?:\\.[\\w~%+]+)+?)(?:\\.rpm)?$")