Fixed: Application mapping regex fails

pull/387/head
Qstick 3 years ago
parent 841ff7b6ee
commit f97c3ff9bd

@ -14,7 +14,7 @@ namespace NzbDrone.Core.Applications
protected readonly IAppIndexerMapService _appIndexerMapService;
protected readonly Logger _logger;
protected static readonly Regex AppIndexerRegex = new Regex(@"(?<indexer>\d*)/api",
protected static readonly Regex AppIndexerRegex = new Regex(@"\/(?<indexer>\d.)\/",
RegexOptions.IgnoreCase | RegexOptions.Compiled);
public abstract string Name { get; }

Loading…
Cancel
Save