Update title matching regex

This commit is contained in:
DariusIII
2018-12-26 22:32:38 +01:00
parent 4304e554b6
commit ef9bd4cefb
+2 -2
View File
@@ -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;