mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 01:38:54 +00:00
Update title matching regex
This commit is contained in:
@@ -2506,8 +2506,8 @@ class NameFixer
|
||||
if (preg_match('/\.\d+$/', $this->_fileName)) {
|
||||
$this->_fileName = preg_replace('/\.\d+$/', '', $this->_fileName);
|
||||
}
|
||||
if (preg_match('/^[a-zA-Z]{0,3}\./', $this->_fileName)) {
|
||||
$this->_fileName = preg_replace('/^[a-zA-Z]{0,3}\./', '', $this->_fileName);
|
||||
if (preg_match('/^[a-zA-Z]{0,4}\./', $this->_fileName)) {
|
||||
$this->_fileName = preg_replace('/^[a-zA-Z]{0,4}\./', '', $this->_fileName);
|
||||
}
|
||||
|
||||
return $this->_fileName;
|
||||
|
||||
Reference in New Issue
Block a user