ethpm / ethpm-spec

Ethereum Package Manager http://ethpm.github.io/ethpm-spec/
165 stars 30 forks source link

package_name inconsistency #131

Closed cbdotguru closed 4 years ago

cbdotguru commented 6 years ago

The human readable spec states that package_name must be all lowercase, however, the regex is showing ^[a-zA-Z][a-zA-Z0-9_]{0,255}$.

Discussion in gitter with @pipermerriam and @gnidan determined we should change the regex in the spec to:

Spec should reflect ^[a-z][a-z0-9_-]{0,255}$.