mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-11-15 01:31:24 +00:00
7 lines
176 B
Go
7 lines
176 B
Go
package rpmutils
|
|
|
|
import "regexp"
|
|
|
|
// Nvr is a regular expression that matches a NVR.
|
|
var Nvr = regexp.MustCompile("^(\\S+)-([\\w~%.+]+)-(\\w+(?:\\.[\\w~%+]+)+?)(?:\\.rpm)?$")
|