I used \w instead of \s
This commit is contained in:
parent
a2ce16a2c3
commit
a4634cc2c8
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -12,7 +12,7 @@ const NodeID3 = require('node-id3');
|
|||
const { JSDOM } = require("jsdom");
|
||||
|
||||
function compareCase(string) {
|
||||
return string.toLowerCase().replace(/\w/gm, "");
|
||||
return string.toLowerCase().replace(/\s/gm, "");
|
||||
}
|
||||
|
||||
function pathGenerator({ url, name, channelName }) {
|
||||
|
|
Loading…
Reference in a new issue