Merge pull request #57 from nalsai/wo

Add wo replacement
This commit is contained in:
Odd Stråbø 2024-05-21 00:43:41 +02:00 committed by GitHub
commit 3d36aa553e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,6 +85,7 @@ namespace Jellyfin.Plugin.AniDB.Providers
a = a.Replace("re", "re.?", StringComparison.OrdinalIgnoreCase);
a = a.Replace("OVA", "((OVA)|(OAD))", StringComparison.OrdinalIgnoreCase);
a = a.Replace("OAD", "((OVA)|(OAD))", StringComparison.OrdinalIgnoreCase);
a = a.Replace("wo", "w?o", StringComparison.OrdinalIgnoreCase);
a = a.Replace("c", "(c|k)", StringComparison.OrdinalIgnoreCase);
a = a.Replace("k", "(c|k)", StringComparison.OrdinalIgnoreCase);
a = a.Replace("&", "(&|(and))", StringComparison.OrdinalIgnoreCase);