Revision aa4638fe

b/kamaki/cli/config.py
48 48

  
49 49

  
50 50
class InvalidCloudNameError(Error):
51
    """A valid cloud name is accepted by this regex: ([@#$:-\w]+)"""
51
    """A valid cloud name is accepted by this regex: ([~@#$:-\w]+)"""
52 52

  
53 53

  
54 54
log = getLogger(__name__)
......
127 127
    def _cloud_name(full_section_name):
128 128
        if not full_section_name.startswith(CLOUD_PREFIX + ' '):
129 129
            return None
130
        matcher = match(CLOUD_PREFIX + ' "([@#$:\-\w]+)"', full_section_name)
130
        matcher = match(CLOUD_PREFIX + ' "([~@#$:\-\w]+)"', full_section_name)
131 131
        if matcher:
132 132
            return matcher.groups()[0]
133 133
        else:

Also available in: Unified diff