diff --git a/src/js/tabs/firmware_flasher.js b/src/js/tabs/firmware_flasher.js index 158a2172f4..55331ef850 100644 --- a/src/js/tabs/firmware_flasher.js +++ b/src/js/tabs/firmware_flasher.js @@ -417,7 +417,7 @@ TABS.firmware_flasher.initialize = function (callback) { function populateBuilds(builds, target, manufacturerId, duplicateName, targetVersions, callback) { if (targetVersions) { targetVersions.forEach(function(descriptor) { - const versionRegex = /^(\d.\d.\d(?:-\w+)?)(?: #(\d+))?$/; + const versionRegex = /^(\d+.\d+.\d+(?:-\w+)?)(?: #(\d+))?$/; const versionParts = descriptor.version.match(versionRegex); if (!versionParts) { return;