Browse Source

fix song name regex with other languages

Sven 3 years ago
parent
commit
092c058157
1 changed files with 1 additions and 1 deletions
  1. 1 1
      BetterYTM.user.js

+ 1 - 1
BetterYTM.user.js

@@ -680,7 +680,7 @@ async function getCurrentGeniusUrl()
 
         /** @param {string} songName */
         const sanitizeSongName = (songName) => {
-            const songNameRegex = /\((\w|\d|\s|[.,\-_&/])+\)/gmi;
+            const songNameRegex = /\(.+\)/gmi;
             let sanitized;
 
             if(songName.match(songNameRegex))