Skip to content

Commit

Permalink
Update HttpHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
laolarou726 committed Nov 19, 2023
1 parent 5fcf26b commit 26805ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProjBobcat/ProjBobcat/Class/Helper/HttpHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static partial class HttpHelper
"((([A-Za-z]{3,9}:(?:\\/\\/)?)(?:[-;:&=\\+$,\\w]+@)?[A-Za-z0-9.-]+(:[0-9]+)?|(?:ww‌​w.|[-;:&=\\+$,\\w]+@)[A-Za-z0-9.-]+)((?:\\/[\\+~%\\/.\\w-_]*)?\\??(?:[-\\+=&;%@.\\w_]*)#?‌​(?:[\\w]*))?)";

#if NET8_0_OR_GREATER
[GeneratedRegex("((([A-Za-z]{3,9}:(?:\\/\\/)?)(?:[-;:&=\\+$,\\w]+@)?[A-Za-z0-9.-]+(:[0-9]+)?|(?:ww‌​w.|[-;:&=\\+$,\\w]+@)[A-Za-z0-9.-]+)((?:\\/[\\+~%\\/.\\w-_]*)?\\??(?:[-\\+=&;%@.\\w_]*)#?‌​(?:[\\w]*))?)")]
[GeneratedRegex(UriRegexStr)]
private static partial Regex UriRegex();

#else
Expand Down

0 comments on commit 26805ab

Please sign in to comment.