In addition to -
and _
, which other special characters can be contained in a github repository name?
Background
I need to do some regex on github urls, and need to know the rules for repository root urls, which are of the form
https://github.com/username/repo
where
username
is the username of the owner of the repository, and,repo
is the repository name
So far, my regex works well, but doesn't cater to repositories with special characters, so I must include them. Written in R, the regex is github.com/*/[[:alpha:]]
.
Note: Here are listed the rules for github usernames - I am after the same thing but for repository names