mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
made some of useless exceptions to calm down.
This commit is contained in:
parent
cdcf2767fc
commit
2d41ebcc78
3 changed files with 7 additions and 9 deletions
|
@ -10,11 +10,6 @@ namespace NzbDrone.Common
|
|||
return string.Format(format, formattingArgs);
|
||||
}
|
||||
|
||||
public static string Inject(this string format, params string[] formattingArgs)
|
||||
{
|
||||
return string.Format(format, formattingArgs.Cast<object>());
|
||||
}
|
||||
|
||||
private static readonly Regex InvalidCharRegex = new Regex(@"[^a-z0-9\s-]", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
private static readonly Regex InvalidSearchCharRegex = new Regex(@"[^a-z0-9\s-\.]", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
private static readonly Regex CollapseSpace = new Regex(@"\s+", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue