allow upper char as first char

This commit is contained in:
Emmanuel Garette 2018-03-31 17:34:41 +02:00
parent 6921e05c0e
commit eba178cdee
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ STATIC_TUPLE = frozenset()
submulti = 2
NAME_REGEXP = re.compile(r'^[a-z][a-zA-Z\d_-]*$')
NAME_REGEXP = re.compile(r'^[a-z1-Z][a-zA-Z\d_-]*$')
FORBIDDEN_NAMES = frozenset(['iter_all', 'iter_group', 'find', 'find_first',
'make_dict', 'unwrap_from_path', 'read_only',
'read_write', 'getowner', 'set_contexts'])