We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 850ab4c commit a88e743Copy full SHA for a88e743
datajoint/utils.py
@@ -76,10 +76,7 @@ def is_camel_case(s):
76
>>> is_camel_case("TableName") # returns True
77
>>> is_camel_case("table_name") # returns False
78
"""
79
- # return re.match(r"^[A-Z][a-z0-9]+(?:[A-Z][a-z0-9]+)*$", s) is not None
80
- return re.match(
81
- r"[A-Z][a-zA-Z0-9]*", s
82
- ) is not None and not contains_non_ascii_char(s)
+ return re.match(r"^[A-Z][a-z0-9]+(?:[A-Z][a-z0-9]+)*$", s) is not None and not contains_non_ascii_char(s)
83
84
85
def to_camel_case(s):
0 commit comments