mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-06 05:43:03 +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
|
||||
Match m = Regex.Match(filename,"\bsample\b",RegexOptions.IgnoreCase);
|
||||
Match m = Regex.Match(filename,@"\bsample\b",RegexOptions.IgnoreCase);
|
||||
|
||||
return m.Success;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue