Espace . to correctly match '.' char

This commit is contained in:
Chocobozzz
2026-07-13 14:01:17 +02:00
parent 408ee5450a
commit 9130be9fdd
+1 -1
View File
@@ -1,7 +1,7 @@
export const uuidRegex = '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'
export function removeFragmentedMP4Ext (path: string) {
return path.replace(/-fragmented.mp4$/i, '')
return path.replace(/-fragmented\.mp4$/i, '')
}
export function removeVTTExt (path: string) {