Fix naming to accurately depict zurg

This commit is contained in:
Mukhtar Akere
2025-03-19 05:31:36 +01:00
parent 0d178992ef
commit 50c775ca74
3 changed files with 9 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ func RemoveInvalidChars(value string) string {
}
func RemoveExtension(value string) string {
value = RemoveInvalidChars(value)
re := regexp.MustCompile(VIDEOMATCH + "|" + SAMPLEMATCH + "|" + MUSICMATCH)
// Find the last index of the matched extension