diff --git a/renovate.json b/renovate.json
index d22a092efe..40a664ed01 100644
--- a/renovate.json
+++ b/renovate.json
@@ -59,7 +59,7 @@
     },
     {
       "matchPackageNames": ["denoland/deno"],
-      "versioning": "regex:^(?<compatibility>[a-z]+?)-(?<major>.*).(?<minor>.*).(?<patch>.*).$"
+      "versioning": "regex:^(?<compatibility>[a-z]+?)-(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?$"
     }
   ],
   "regexManagers": [