Skip to content

Commit 70a5c2b

Browse files
committed
added note
1 parent 5c4af29 commit 70a5c2b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

osbot_utils/helpers/Safe_Id.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ def __new__(cls, value=None, max_length=SAFE_ID__MAX_LENGTH):
1212
return str.__new__(cls, sanitized_value)
1313

1414
# def __str__(self):
15-
# return self
15+
# return self
16+
17+
18+
# note: here is the regex applied on safe_id: REGEX__SAFE_ID_REGEX = re.compile(r'[^a-zA-Z0-9_-]')

0 commit comments

Comments
 (0)