mirror of
https://github.com/Jackett/Jackett.git
synced 2025-12-23 14:47:07 +01:00
bB: normalize spaces in title
This commit is contained in:
@@ -15,6 +15,11 @@ namespace Jackett.Utils
|
||||
return s.Trim();
|
||||
}
|
||||
|
||||
public static string NormalizeMultiSpaces(string s)
|
||||
{
|
||||
return new Regex(@"\s+").Replace(NormalizeSpace(s), " "); ;
|
||||
}
|
||||
|
||||
public static string NormalizeNumber(string s)
|
||||
{
|
||||
var normalized = NormalizeSpace(s);
|
||||
|
||||
Reference in New Issue
Block a user