Skip to content

Commit 9ddd7e5

Browse files
authored
Merge pull request #1126 from javihernandez/bs-447
Allow tilde symbol in RpmArtifact's version
2 parents 5552c3f + 254d3d6 commit 9ddd7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alws/utils/modularity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def from_str(artifact) -> "RpmArtifact":
113113
regex = re.compile(
114114
r"^(?P<name>[\w+-.]+)-"
115115
r"((?P<epoch>\d+):)?"
116-
r"(?P<version>\d+?[\w.]*)-"
116+
r"(?P<version>\d+?[\w.~]*)-"
117117
r"(?P<release>\d+?[\w.+]*?)"
118118
r"\.(?P<arch>[\w]*)(\.rpm)?$"
119119
)

0 commit comments

Comments
 (0)