Pārlūkot izejas kodu

fix song name regex with other languages

Sven 3 gadi atpakaļ
vecāks
revīzija
6be7cf03ec
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      BetterYTM.user.js

+ 1 - 1
BetterYTM.user.js

@@ -877,7 +877,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))