mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 16:33:25 -03:00
Fix clean regex
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Emby.Naming.Audio
|
|||||||
_options = options;
|
_options = options;
|
||||||
}
|
}
|
||||||
|
|
||||||
[GeneratedRegex(@"([-\.\(\)]|\s+)")]
|
[GeneratedRegex(@"[-\.\(\)\s]+")]
|
||||||
private static partial Regex CleanRegex();
|
private static partial Regex CleanRegex();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ public partial class StripCollageBuilder
|
|||||||
_skiaEncoder = skiaEncoder;
|
_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}")]
|
[GeneratedRegex(@"\p{IsArabic}|\p{IsArmenian}|\p{IsHebrew}|\p{IsSyriac}|\p{IsThaana}")]
|
||||||
private static partial Regex IsRtlTextRegex();
|
private static partial Regex IsRtlTextRegex();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user