mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-11-09 23:01:25 +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)?$")
|