git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7218d98
)
fix regexp for tagname
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Mon, 3 Jan 2011 14:55:36 +0000
(15:55 +0100)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Mon, 3 Jan 2011 14:55:36 +0000
(15:55 +0100)
module-tools.py
patch
|
blob
|
history
diff --git
a/module-tools.py
b/module-tools.py
index
09c124a
..
10ce428
100755
(executable)
--- a/
module-tools.py
+++ b/
module-tools.py
@@
-446,7
+446,7
@@
class Module:
# for parsing module spec name:branch
matcher_branch_spec=re.compile("\A(?P<name>[\w\.-]+):(?P<branch>[\w\.-]+)\Z")
# special form for tagged module - for Build
- matcher_tag_spec=re.compile("\A(?P<name>[\w-]+)@(?P<tagname>[\w\.-]+)\Z")
+ matcher_tag_spec=re.compile("\A(?P<name>[\w
\.
-]+)@(?P<tagname>[\w\.-]+)\Z")
# parsing specfiles
matcher_rpm_define=re.compile("%(define|global)\s+(\S+)\s+(\S*)\s*")