More character name validation
CakeLancelot opened this issue · 0 comments
CakeLancelot commented
There are a few more checks that we should be doing on character name during creation:
- Allow one space in last name, so that three word names are possible.
(Retro had this behavior, don't know if it worked in the original) - Don't allow leading or trailing spaces in either first or last name.
Only allow A-Z (either case) and numbers.DoneName checking will need to be updated to be case-insensitiveDone
With the current code, Cake Lancelot
cake lancelot
, Cake Lancelot
, and Cake Lancelot
are all considered to be unique and valid names.