@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | $pathRegex = Util\Path::datePlaceholdersToRegex($rawPath); |
| 63 | 63 | $pathRegex .= $pathRegex ? '/' : ''; |
| 64 | 64 | $fileRegex = Util\Path::datePlaceholdersToRegex($this->target->getFilenameRaw()); |
| 65 | - return preg_match('#'.$pathRegex . $fileRegex . '$#i', $targetPath); |
|
| 65 | + return preg_match('#' . $pathRegex . $fileRegex . '$#i', $targetPath); |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | */ |
| 74 | 74 | protected function isFilenameMatch(string $filename): bool |
| 75 | 75 | { |
| 76 | - return preg_match('#'.$this->fileRegex . '#i', $filename); |
|
| 76 | + return preg_match('#' . $this->fileRegex . '#i', $filename); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |