diff --git a/src/providers/sites.ts b/src/providers/sites.ts index 1af6ef55e..1991c89d1 100644 --- a/src/providers/sites.ts +++ b/src/providers/sites.ts @@ -982,7 +982,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]; }