From 10efcf877bdc9f071294df477d710d2e06f41be3 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 7 Dec 2018 23:33:11 +0100 Subject: [PATCH] remove name restiction --- tiramisu/option/baseoption.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tiramisu/option/baseoption.py b/tiramisu/option/baseoption.py index 73e73f7..5800380 100644 --- a/tiramisu/option/baseoption.py +++ b/tiramisu/option/baseoption.py @@ -42,7 +42,8 @@ NAME_REGEXP = re.compile(r'^[a-zA-Z][a-zA-Z\d_-]*$') def valid_name(name): if not isinstance(name, str): return False - return re.match(NAME_REGEXP, name) is not None + return True +# return re.match(NAME_REGEXP, name) is not None #____________________________________________________________