mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-12 15:51:01 +00:00
invalid name start with dot
This commit is contained in:
parent
920b9d01e2
commit
34b8f30c0d
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ var (
|
|||
|
||||
// Regular expression to valuate db and frame's name
|
||||
// Todo: remove . when frame doesn't require . for topN
|
||||
var nameRegexp = regexp.MustCompile(`^([^.][a-z0-9._-]{1,64}$)`)
|
||||
var nameRegexp = regexp.MustCompile(`^[a-z0-9][a-z0-9._-]{0,64}$`)
|
||||
|
||||
// Profile represents vertical column in a database.
|
||||
// A profile can have a set of attributes attached to it.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue