cnabio / cnab-go

A Go implementation of CNAB Core 1.0
MIT License
69 stars 37 forks source link

Consolidate regex for Claim Name Validation Regex #217

Open carolynvs opened 4 years ago

carolynvs commented 4 years ago

nit: Do we want to create a const for the regex string and reference it both during the regexp.MustCompile call above as well as here?

Originally posted by @vdice in https://github.com/cnabio/cnab-go/pull/212