mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 18:53:27 +01:00
Changed '\d' to '[0-9]'.
This commit is contained in:
@@ -209,7 +209,7 @@ namespace MediaBrowser.XbmcMetadata.Parsers
|
||||
protected void ParseProviderLinks(T item, string xml)
|
||||
{
|
||||
// Look for a match for the Regex pattern "tt" followed by 7 or 8 digits
|
||||
var m = Regex.Match(xml, @"tt(\d{7,8})", RegexOptions.IgnoreCase);
|
||||
var m = Regex.Match(xml, "tt([0-9]{7,8})", RegexOptions.IgnoreCase);
|
||||
if (m.Success)
|
||||
{
|
||||
item.SetProviderId(MetadataProviders.Imdb, m.Value);
|
||||
|
||||
Reference in New Issue
Block a user