Closed patrickkettner closed 10 years ago
Whoa @patrickkettner, thats awesome.
If you renamed all the good
variables to valid
, then I reckon we could merge this.
doneski
Thanks @patrickkettner !
Sorry @patrickkettner I'm late to this party, is it possible for you to add a comment explaining what your validation regex does (I know it's simple but just for documentation purposes)? Also is it possible for you to add a test for unicode characters?
More than happy to add a note explaining, however I didn't think unicode was a supported name - @sindresorhus ?
You're correct. I meant to say a test that verifies unicode isn't supported.
For the comment maybe just say please refer to https://github.com/bower/bower.json-spec#name so we don't need to duplicate documentation.
ah, ok.
fixes #59