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
+1 -1
View File
@@ -26,7 +26,7 @@ const (
)
var (
idRegex = regexp.MustCompile(`^[\w_]+$`)
idRegex = regexp.MustCompile(`^[\w_-]+$`)
maxIdLen = 1024
)