UNPKG

github-username-regex

Version:

A regular expression that only matches a valid Github username

4 lines (2 loc) 87 B
var module$1 = /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i; module.exports = module$1;