mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 19:26:51 +00:00
committed by
Ryan Gribble
parent
c25ba887b8
commit
b47b05489e
@@ -122,7 +122,7 @@ namespace Octokit
|
||||
// the rule:
|
||||
// Username may only contain alphanumeric characters or single hyphens
|
||||
// and cannot begin or end with a hyphen
|
||||
static readonly Regex nameWithOwner = new Regex("[a-z0-9.-]{1,}/[a-z0-9.-]{1,}",
|
||||
static readonly Regex nameWithOwner = new Regex("[a-z0-9.-]{1,}/[a-z0-9.-_]{1,}",
|
||||
#if (!PORTABLE && !NETFX_CORE)
|
||||
RegexOptions.Compiled |
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user