update announcement regex

This commit is contained in:
Lightczx
2023-08-07 08:18:38 +08:00
parent fd52334c13
commit 4dca174019
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ Snap Hutao is an open-source Genshin Impact toolbox on Windows platform, aim to
* [CommunityToolkit/dotnet](https://github.com/CommunityToolkit/dotnet)
* [CommunityToolkit/Labs-Windows](https://github.com/CommunityToolkit/Labs-Windows)
* [CommunityToolkit/WindowsCommunityToolkit](https://github.com/CommunityToolkit/WindowsCommunityToolkit)
* [CommunityToolkit/Windows](https://github.com/CommunityToolkit/Windows)
* [dahall/taskscheduler](https://github.com/dahall/taskscheduler)
* [dotnet/efcore](https://github.com/dotnet/efcore)
* [dotnet/runtime](https://github.com/dotnet/runtime)

View File

@@ -86,6 +86,6 @@ internal sealed partial class AnnouncementService : IAnnouncementService
/// 匹配特殊的时间格式: <t.*?>(.*?)</t>
/// </summary>
/// <returns>正则</returns>
[GeneratedRegex("&lt;t class=\"t_gl\".*?&gt;(.*?)&lt;/t&gt;", RegexOptions.Multiline)]
[GeneratedRegex("&lt;t class=\"t_(?:gl|lc)\".*?&gt;(.*?)&lt;/t&gt;", RegexOptions.Multiline)]
private static partial Regex XmlTagRegex();
}