mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
doc
This commit is contained in:
@@ -7,19 +7,23 @@ namespace Snap.Hutao.Web.Hoyolab.Hk4e.Common.Announcement;
|
||||
|
||||
internal static partial class AnnouncementRegex
|
||||
{
|
||||
/// <inheritdoc cref="SH.WebAnnouncementMatchVersionUpdateTitle"/>
|
||||
public static readonly Regex VersionUpdateTitleRegex = new(SH.WebAnnouncementMatchVersionUpdateTitle, RegexOptions.Compiled);
|
||||
|
||||
/// <inheritdoc cref="SH.WebAnnouncementMatchVersionUpdateTime"/>
|
||||
public static readonly Regex VersionUpdateTimeRegex = new(SH.WebAnnouncementMatchVersionUpdateTime, RegexOptions.Compiled);
|
||||
|
||||
/// <inheritdoc cref="SH.WebAnnouncementMatchTransientActivityTime"/>
|
||||
public static readonly Regex TransientActivityAfterUpdateTimeRegex = new(SH.WebAnnouncementMatchTransientActivityTime, RegexOptions.Compiled);
|
||||
|
||||
/// <inheritdoc cref="SH.WebAnnouncementMatchPersistentActivityTime"/>
|
||||
public static readonly Regex PersistentActivityAfterUpdateTimeRegex = new(SH.WebAnnouncementMatchPersistentActivityTime, RegexOptions.Compiled);
|
||||
|
||||
/// <inheritdoc cref="SH.WebAnnouncementMatchPermanentActivityTime"/>
|
||||
public static readonly Regex PermanentActivityAfterUpdateTimeRegex = new(SH.WebAnnouncementMatchPermanentActivityTime, RegexOptions.Compiled);
|
||||
|
||||
public static readonly Regex XmlTimeTagRegex = XmlTimeTagRegexInner ??= XmlTagRegex();
|
||||
|
||||
private static readonly Regex? XmlTimeTagRegexInner;
|
||||
/// <inheritdoc cref="XmlTagRegex"/>
|
||||
public static readonly Regex XmlTimeTagRegex = XmlTagRegex();
|
||||
|
||||
[GeneratedRegex("<t class=\"t_(?:gl|lc)\".*?>(.*?)</t>", RegexOptions.Multiline)]
|
||||
private static partial Regex XmlTagRegex();
|
||||
|
||||
Reference in New Issue
Block a user