Stephen J Day
375f3cc136
Define common regexps used across registry application
This commit adds regular expression definitions for several string identifiers used througout the registry. The repository name regex supports up to five path path components and restricts repeated periods, dashes and underscores. The tag regex simply validates the length of the tag and that printable characters are required. Though we define a new package common, these definition should land in docker core.
Description
No description provided
Languages
Go
97.8%
Shell
1.7%
Dockerfile
0.2%
Makefile
0.2%