Skip to content

Commit

Permalink
移除注释
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed May 20, 2024
1 parent a723c0e commit 9345008
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Aria2Fast/Utils/MatchUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@ public static int GetSeasonFromTitle(string title)
{
Match match = regex.Match(title);
string seasonStr = match.Groups[1].Value;
// check if the match value is Arabic numeral

if (int.TryParse(seasonStr, out int seasonNum))
{
return seasonNum;
}
// Match Chinese digit
else
{
switch (seasonStr)
Expand Down

0 comments on commit 9345008

Please sign in to comment.