mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 10:18:55 +00:00
CS fixes
This commit is contained in:
@@ -3089,6 +3089,7 @@ class ProcessAdditional
|
||||
$t = preg_replace('/[.\-_ ](?:part|vol|r)\d+(?:\+\d+)?$/i', '', $t) ?? $t;
|
||||
// Collapse multiple spaces/underscores
|
||||
$t = preg_replace('/[\s_]+/', ' ', $t) ?? $t;
|
||||
|
||||
// Trim stray punctuation
|
||||
return trim($t, " .-_\t\r\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user