diff --git a/src/core/services/sites.ts b/src/core/services/sites.ts index 208aa7dc8..8d62529a8 100644 --- a/src/core/services/sites.ts +++ b/src/core/services/sites.ts @@ -655,7 +655,7 @@ export class CoreSitesProvider { * @return Release number or empty. */ getReleaseNumber(rawRelease: string): string { - const matches = rawRelease.match(/^\d(\.\d(\.\d+)?)?/); + const matches = rawRelease.match(/^\d+(\.\d+(\.\d+)?)?/); if (matches) { return matches[0]; }