We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17923ce commit bf451e6Copy full SHA for bf451e6
util/validation.py
@@ -17,7 +17,7 @@ def validate_activity_name(name: str):
17
return False, 'Should not have space before or after the string'
18
19
# Should only contain CJK, Latin Characters, numbers, spaces, slashes, and dots
20
- if not re.match(r'^[\u4e00-\u9fff\uac00-\ud7a3\u2013-\u2014a-zA-Z0-9 /-/.]+$', name):
+ if not re.match(r'^[-\u4e00-\u9fff\uac00-\ud7a3\u2013-\u2014a-zA-Z0-9 /-/.]+$', name):
21
return False, 'Should only appear in CJK, Latin Characters, numbers, spaces, slashes, dashes (including en dash and em dash), and dots'
22
23
# ASCII letters should be wrapped with spaces if inserted between CJK characters
0 commit comments