Merge pull request #31 from estesp/allow-hyphen-in-id

Allow hyphen in "id" (based on `cwd` pathname)
This commit is contained in:
Michael Crosby 2015-06-25 11:30:45 -07:00
commit f49826cf7e
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ const (
)
var (
idRegex = regexp.MustCompile(`^[\w_]+$`)
idRegex = regexp.MustCompile(`^[\w_-]+$`)
maxIdLen = 1024
)