use _VERSION_REGEX from python gae version 1.9.18
@@ -154,8 +154,8 @@ MODULE_ID_RE_STRING = r'(?!-)[a-z\d\-]{1,63}'
MODULE_VERSION_RE_STRING = r'(?!-)[a-z\d\-]{1,100}'
-_VERSION_REGEX = r'^(?:(?:(%s):)?)(%s)$' % (MODULE_ID_RE_STRING,
- MODULE_VERSION_RE_STRING)
+_VERSION_REGEX = r'^(?:(?:(%s)\.)?)(%s)$' % (MODULE_VERSION_RE_STRING,
+ MODULE_ID_RE_STRING)
QUEUE = 'queue'
