We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b90c2c commit c8fbe9eCopy full SHA for c8fbe9e
khiops/core/dictionary.py
@@ -50,7 +50,7 @@ def _format_name(name):
50
# Python isalnum is not used because of utf-8 encoding (accentuated chars
51
# are considered alphanumeric)
52
# Return original name if is an identifier, otherwise between backquotes
53
- identifier_pattern = r"^[a-zA-Z][a-zA-Z0-9_]*"
+ identifier_pattern = r"^[a-zA-Z_][a-zA-Z0-9_]*"
54
str_identifier_regex = re.compile(identifier_pattern)
55
bytes_identifier_regex = re.compile(bytes(identifier_pattern, encoding="ascii"))
56
if isinstance(name, str):
0 commit comments