pcgeek86 / PSGitHub

This PowerShell module contains commands to manage GitHub through its REST API.
MIT License
182 stars 39 forks source link

Regular expression validation blocks certain repository names #54

Closed johlju closed 4 years ago

johlju commented 4 years ago

The following regular expression blocks all the functions to be used on a repository name that contains a '.'., e.g. DscResources.Analysis.

https://github.com/pcgeek86/PSGitHub/blob/8a74429264b64a5c90e7a397b8f96f7f0734265f/Functions/Public/New-GitHubLabel.ps1#L56

This regular expression should be changed to

^[\w-\.]+$