GENI-NSF / geni-ch

GENI clearinghouse services
Other
3 stars 6 forks source link

Project name regex mismatch with InstaGENI #480

Closed tcmitchell closed 8 years ago

tcmitchell commented 8 years ago

InstaGENI requires project names to have a leading alphabetic character and a minimum length of two characters. geni-ch allows leading numbers and a minimum length of one character. Make the regex for project names more restrictive to match the InstaGENI/ProtoGENI/Emulab requirements.

Current regex allowing leading numbers and length of 1:

'^[a-zA-Z0-9][a-zA-Z0-9-_]{0,31}$’

Proposed new regex:

'^[a-zA-Z][a-zA-Z0-9-_]{1,31}$'