Replaced /d with [0-9], see issue #2923

This commit is contained in:
Troy
2021-02-01 02:46:30 +00:00
parent 4bcf684b72
commit 8c640a1492
14 changed files with 24 additions and 24 deletions

View File

@@ -26,7 +26,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
public LegacyHdHomerunChannelCommands(string url)
{
// parse url for channel and program
var regExp = new Regex(@"\/ch(\d+)-?(\d*)");
var regExp = new Regex(@"\/ch([0-9]+)-?([[0-9]*)");
var match = regExp.Match(url);
if (match.Success)
{