From ef9bd4cefb1eaaffe33ef8e8ba7a397e38e96f29 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Wed, 26 Dec 2018 22:32:38 +0100 Subject: [PATCH] Update title matching regex --- Blacklight/NameFixer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Blacklight/NameFixer.php b/Blacklight/NameFixer.php index 4b5d39020..516612a6e 100755 --- a/Blacklight/NameFixer.php +++ b/Blacklight/NameFixer.php @@ -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;