pnnl / Quality-Install-Tool

BSD 2-Clause "Simplified" License
1 stars 1 forks source link

JobsView Issues #134

Closed charliepnnl closed 1 year ago

charliepnnl commented 1 year ago
sudhacheran commented 1 year ago

/(?=.{1,64}$)^(?!.\s\s)[a-zA-Z0-9](?:[a-zA-Z0-9, -, #][a-zA-Z0-9])?$/

This regex accepts # anywhere in the string.

charliepnnl commented 1 year ago

It turns out that we can't allow "#" in the project names because it will be misinterpreted in the url. So I ended up simplifying the regex considerably.