You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ietf/wginfo/edit.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -62,8 +62,8 @@ def clean_acronym(self):
62
62
ifself.wgandacronym==self.wg.acronym:
63
63
returnacronym# no change, no check
64
64
65
-
ifnotre.match(r'^[-a-z0-9]+$', acronym):
66
-
raiseforms.ValidationError("Acronym is invalid, may only contain letters, numbers and dashes.")
65
+
ifnotre.match(r'^[a-z][a-z0-9]+$', acronym):
66
+
raiseforms.ValidationError("Acronym is invalid, must be at least two characters and only contain lowercase letters and numbers starting with a letter.")
0 commit comments