Morpheus / Mbed OS mbed-Client-Morpheus-hg

Dependencies:   mbed-os

Revision:
54:3cb9f99bbaaa
Parent:
53:f77f23f3e087
Child:
60:52dc8fcb07d8
Child:
61:5c3f41de9d97
--- a/neo.py	Wed Mar 30 17:54:00 2016 -0500
+++ b/neo.py	Wed Mar 30 18:10:58 2016 -0500
@@ -189,7 +189,7 @@
     def fromurl(cls, url, path=None):
         repo = cls()
 
-        m = re.match('^(.*/([+a-zA-Z0-9_-]+)/?)(?:#(.*))?$', url.strip())
+        m = re.match('^(.*/([\w+-]+)(?:\.\w+)?)/?(?:#(.*))?$', url.strip())
         repo.name = os.path.basename(path or m.group(2))
         repo.path = os.path.abspath(
             path or os.path.join(os.getcwd(), repo.name))