Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse GitHub usernames with - in them #2179

Merged
merged 1 commit into from Jul 29, 2016

Conversation

danielcompton
Copy link
Collaborator

@danielcompton danielcompton commented Jul 28, 2016

GitHub usernames only allow alphanumeric characters and single hypens. This commit fixes the regex to allow dashes, and remove _ as _ aren't valid in Github usernames.

screenshot of safari technology preview 29-07-16 10-14-14 am

GitHub usernames only allow alphanumeric characters and single hypens.
This commit fixes the regex to allow dashes, and remove _ as _ aren't
valid in Github usernames.
@hypirion
Copy link
Collaborator

Nice catch; thanks!

@hypirion hypirion merged commit d165173 into technomancy:master Jul 29, 2016
@danielcompton danielcompton deleted the gh-username branch July 30, 2016 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants