mirror of
https://github.com/iptv-org/database.git
synced 2024-11-09 22:16:38 -05:00
Update validate.js
This commit is contained in:
parent
62546f7d6f
commit
9390b53a7f
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ function validateChannelId(row, i) {
|
||||||
.replace(/^@/i, 'At')
|
.replace(/^@/i, 'At')
|
||||||
.replace(/^&/i, 'And')
|
.replace(/^&/i, 'And')
|
||||||
.replace(/\+/gi, 'Plus')
|
.replace(/\+/gi, 'Plus')
|
||||||
.replace(/\s\-/gi, ' Minus')
|
.replace(/\s\-(\d)/gi, ' Minus$1')
|
||||||
.replace(/[^a-z\d]+/gi, '')
|
.replace(/[^a-z\d]+/gi, '')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue