The Free Software Media System - Server Backend & API
Fix clean regex
Bond-00983d6f21fd021
diff --git a/Emby.Naming/Audio/AlbumParser.cs b/Emby.Naming/Audio/AlbumParser.csindex 73424a1345..97961778f3 100644--- a/Emby.Naming/Audio/AlbumParser.cs+++ b/Emby.Naming/Audio/AlbumParser.cs@@ -23,7 +23,7 @@ namespace Emby.Naming.Audio_options = options;}- [GeneratedRegex(@"([-\.\(\)]|\s+)")]+ [GeneratedRegex(@"[-\.\(\)\s]+")]private static partial Regex CleanRegex();/// <summary>diff --git a/src/Jellyfin.Drawing.Skia/StripCollageBuilder.cs b/src/Jellyfin.Drawing.Skia/StripCollageBuilder.csindex 537fbf2366..a8f80f7e21 100644--- a/src/Jellyfin.Drawing.Skia/StripCollageBuilder.cs+++ b/src/Jellyfin.Drawing.Skia/StripCollageBuilder.cs@@ -23,6 +23,9 @@ public partial class StripCollageBuilder_skiaEncoder = skiaEncoder;}+ [GeneratedRegex(@"[^\p{IsCJKUnifiedIdeographs}\p{IsCJKUnifiedIdeographsExtensionA}\p{IsKatakana}\p{IsHiragana}\p{IsHangulSyllables}\p{IsHangulJamo}]")]+ private static partial Regex NonCjkPatternRegex();+[GeneratedRegex(@"\p{IsArabic}|\p{IsArmenian}|\p{IsHebrew}|\p{IsSyriac}|\p{IsThaana}")]private static partial Regex IsRtlTextRegex();