Fix clean regex
This commit is contained in:
parent
b5f0760db8
commit
83d6f21fd0
|
@ -23,7 +23,7 @@ namespace Emby.Naming.Audio
|
|||
_options = options;
|
||||
}
|
||||
|
||||
[GeneratedRegex(@"([-\.\(\)]|\s+)")]
|
||||
[GeneratedRegex(@"[-\.\(\)\s]+")]
|
||||
private static partial Regex CleanRegex();
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user