From a4634cc2c8ac4866c1351f97d495718337a24917 Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange Date: Fri, 23 Feb 2024 18:47:46 -0600 Subject: [PATCH] I used \w instead of \s --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 4310fd4..c912399 100644 --- a/index.js +++ b/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 }) {