diff --git a/src/services/SyncService.php b/src/services/SyncService.php index e97765b..6e948ef 100644 --- a/src/services/SyncService.php +++ b/src/services/SyncService.php @@ -168,7 +168,7 @@ private function encodeSelectOptions($filenames): array { // - Random string // - Version // - Extension - $regex = '/^(?:[a-zA-Z0-9]+)\_(?:([a-zA-Z]+)\_)?(\d{6}\_\d{6})\_(?:[a-zA-Z0-9]+)\_(?:[v0-9\.]+)\.(?:\w{2,10})$/'; + $regex = '/^(?:[a-zA-Z0-9-]+)\_(?:([a-zA-Z]+)\_)?(\d{6}\_\d{6})\_(?:[a-zA-Z0-9]+)\_(?:[v0-9\.]+)\.(?:\w{2,10})$/'; foreach ($filenames as $i=>$filename) { preg_match($regex, $filename, $matches);