Fix for issue #93 - Cannot add github account if it contains a dash

Made a new PR because I'm an idiot and created the original one off my own master branch.

Went with @crazedpsyc's char class suggestion.