From 14a59c1f986d39c6adf4b09eac1b2935d126f3ce Mon Sep 17 00:00:00 2001 From: freearhey Date: Wed, 23 Oct 2019 13:32:49 +0300 Subject: [PATCH] wip --- helpers/format.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/format.js b/helpers/format.js index 4e004309d2..850bb7c878 100644 --- a/helpers/format.js +++ b/helpers/format.js @@ -83,7 +83,7 @@ async function main() { for(let channelId in buffer[epgUrl].channels) { let c = buffer[epgUrl].channels[channelId] for(let epgName of c.names) { - let regexp = new RegExp(`^${epgName}`, 'i') + let regexp = new RegExp(`^${epgName}$`, 'i') if(regexp.test(channel.title)) { if(!channel.id) { channel.id = c.id