"[un]abridged" in title candidate generation

This commit is contained in:
mikiher 2023-11-30 21:15:25 +02:00
parent 3ff41f2b43
commit 80458e24bd
2 changed files with 3 additions and 0 deletions

View file

@ -167,6 +167,7 @@ class BookFinder {
[/ (2nd|3rd|\d+th)\s+ed(\.|ition)?/g, ''], // Remove edition
[/(^| |\.)(m4b|m4a|mp3)( |$)/g, ''], // Remove file-type
[/ a novel.*$/g, ''], // Remove "a novel"
[/(^| )(un)?abridged( |$)/g, ' '], // Remove "unabridged/abridged"
[/^\d+ | \d+$/g, ''], // Remove preceding/trailing numbers
]