Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
timmyomahony committed Jan 25, 2020
2 parents 2fbb0bb + b6830e9 commit c9d1987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/SyncService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c9d1987

Please sign in to comment.