Closed zanetworker closed 10 years ago
Well spotted @zanetworker. I've just checked the regex though, and there is a bug in it. After some clarification from the guys at the GPO, it appears that underscore is not a legal character:
Per the AM API, hyphen is legal, underscore is not.
Could you change the regex to match this, and form another pull request? Only one character needs removing.
After writing the regular expressions for validating slice_names, I found by testing that there is a method that already checks the validity of slice names in slice tool. Therefore, after adding the test, this pull request should close #41