Merge pull request #5142 from M0ssTee/updateRegex

Replaced /d with [0-9], see issue #2923
This commit is contained in:
dkanada
2021-02-08 22:52:58 +09:00
committed by GitHub
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)
{