mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-11 08:10:34 +02:00
Fix incorrect escaping in regex pattern
This commit is contained in:
parent
0794a3edf4
commit
da842d5a73
|
@ -149,7 +149,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ignore samples
|
// Ignore samples
|
||||||
Match m = Regex.Match(filename,"\bsample\b",RegexOptions.IgnoreCase);
|
Match m = Regex.Match(filename,@"\bsample\b",RegexOptions.IgnoreCase);
|
||||||
|
|
||||||
return m.Success;
|
return m.Success;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue