mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
update announcement regex
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -86,6 +86,6 @@ internal sealed partial class AnnouncementService : IAnnouncementService
|
||||
/// 匹配特殊的时间格式: <t.*?>(.*?)</t>
|
||||
/// </summary>
|
||||
/// <returns>正则</returns>
|
||||
[GeneratedRegex("<t class=\"t_gl\".*?>(.*?)</t>", RegexOptions.Multiline)]
|
||||
[GeneratedRegex("<t class=\"t_(?:gl|lc)\".*?>(.*?)</t>", RegexOptions.Multiline)]
|
||||
private static partial Regex XmlTagRegex();
|
||||
}
|
||||
Reference in New Issue
Block a user