mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding directors cut filter
This commit is contained in:
parent
d8158bb80e
commit
f706836a43
1 changed files with 2 additions and 1 deletions
|
@ -53,8 +53,9 @@ export const removeDuplicateSpaces = (name: string) =>
|
||||||
|
|
||||||
export const formatName = pipe<string>(
|
export const formatName = pipe<string>(
|
||||||
removeReleaseYearFromName,
|
removeReleaseYearFromName,
|
||||||
removeSymbolsFromName,
|
|
||||||
removeSpecialEditionFromName,
|
removeSpecialEditionFromName,
|
||||||
|
(str) => str.replace(/DIRECTOR'S CUT/g, ""),
|
||||||
|
removeSymbolsFromName,
|
||||||
removeDuplicateSpaces,
|
removeDuplicateSpaces,
|
||||||
(str) => str.trim()
|
(str) => str.trim()
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue