[eks] Fix EKS regex

This commit is contained in:
Nemo
2022-08-26 21:25:36 +05:30
committed by Nemo
parent 47c3f9ed54
commit 33331288fa
2 changed files with 18 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ import json
REPO_CLONE_URL = 'https://github.com/awsdocs/amazon-eks-user-guide.git'
PATH = 'doc_source/kubernetes-versions.md'
TEMP_REPO_PATH = '/tmp/eks-docs'
REGEX = r"^\+ (?P<major>\d+)\\\.(?P<minor>\d+)\\\.(?P<patch>\d+)$"
REGEX = r"^\+ `?(?P<major>\d+)\\?\.(?P<minor>\d+)\\?\.(?P<patch>\d+)`?$"
versions = {}