From 1f8e8e54410933ff490d7c9cd9688f9a9efe638a Mon Sep 17 00:00:00 2001 From: Tao Date: Thu, 25 Jan 2024 18:02:10 +0800 Subject: [PATCH] Fix: allow dot(.) and dash(-) in file pattern --- BBDown/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BBDown/Program.cs b/BBDown/Program.cs index ed331e29d..3e2ab266c 100644 --- a/BBDown/Program.cs +++ b/BBDown/Program.cs @@ -842,7 +842,7 @@ private static string FormatSavePath(string savePathFormat, string title, Video? return result; } - [GeneratedRegex("<([\\w:]+?)>")] + [GeneratedRegex("<([\\w:\\-.]+?)>")] private static partial Regex InfoRegex(); } }