Skip to content

Commit

Permalink
fetch-jdk: fix {jvmci-tag} keyword pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
zapster committed Sep 15, 2023
1 parent 113526c commit 959cff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mx_fetchjdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,8 @@ def get_final_path(self, jdk_path):


_instantiate_filters = {
'jvmci': lambda value: re.sub(r"(?:.*)-(.*jvmci-b\d+).*|.*jvmci-(\d+\.\d+-b\d+).*", r"\1\2", value),
'jvmci-tag': lambda value: re.sub(r"(?:.*)-(.*jvmci-b\d+).*|.*(jvmci-\d+\.\d+-b\d+).*", r"\1\2", value)
'jvmci': lambda value: re.sub(r"(?:.*)-(.*-jvmci-b\d+).*|.*jvmci-(\d+\.\d+-b\d+).*", r"\1\2", value),
'jvmci-tag': lambda value: re.sub(r"(?:.*)-(.*-jvmci-b\d+).*|.*(jvmci-\d+\.\d+-b\d+).*", r"\1\2", value)
}

def _quote(value):
Expand Down

0 comments on commit 959cff7

Please sign in to comment.