Update Emby.Dlna/DlnaManager.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
pull/4061/head
BaronGreenback 4 years ago committed by GitHub
parent babdd30a46
commit 12d0f29dea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -220,7 +220,7 @@ namespace Emby.Dlna
{
try
{
return Regex.IsMatch(input, pattern, RegexOptions.IgnoreCase | RegexOptions.CultureInvariant) || input.Contains(pattern, StringComparison.OrdinalIgnoreCase);
return input.Contains(pattern, StringComparison.OrdinalIgnoreCase) || Regex.IsMatch(input, pattern, RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
}
catch (ArgumentException ex)
{

Loading…
Cancel
Save