update summary docs

Signed-off-by: Cody Engel <cengel815@gmail.com>
This commit is contained in:
Cody Engel
2025-09-23 08:22:00 -06:00
parent bd9a44ce7d
commit 2508e8349b

View File

@@ -18,8 +18,8 @@ namespace Emby.Naming.TV
private static partial Regex SeriesNameRegex();
/// <summary>
/// Regex that matches titles with year in parentheses, optionally preceded by a minus sign.
/// Captures the title (which may be numeric) before the year.
/// Regex that matches titles with year in parentheses. Captures the title (which may be
/// numeric) before the year, i.e. turns "1923 (2022)" into "1923".
/// </summary>
[GeneratedRegex(@"(?<title>.+?)\s*\(\d{4}\)")]
private static partial Regex TitleWithYearRegex();