Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Fix Regex
Browse files Browse the repository at this point in the history
  • Loading branch information
sim0n00ps committed Oct 16, 2023
1 parent 557296c commit 5768297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GoFile DL/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static async Task SingleURLDownload()
.ValidationErrorMessage("[red]Please enter a valid GoFile link[/]")
.Validate(url =>
{
Regex regex = new Regex("https://gofile\\.io/d/([A-Za-z]+)", RegexOptions.IgnoreCase);
Regex regex = new Regex("https://gofile\\.io/d/([A-Za-z0-9]+)", RegexOptions.IgnoreCase);
if (regex.IsMatch(url))
{
return ValidationResult.Success();
Expand Down

0 comments on commit 5768297

Please sign in to comment.