Mercurial > make_username
changeset 2:6adfd593a32b
removed lowercase requirement for first letter of username
author | Eris Caffee <discordia@eldalin.com> |
---|---|
date | Sat, 16 Jul 2011 22:04:38 -0500 |
parents | 706c20861682 |
children | |
files | make-username.pl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/make-username.pl Sat Jul 16 13:23:21 2011 -0500 1.2 +++ b/make-username.pl Sat Jul 16 22:04:38 2011 -0500 1.3 @@ -89,7 +89,7 @@ 1.4 1.5 # Remove non-alpha-numeric characters and make sure the first character is a letter. 1.6 $base =~ s/[^A-Za-z0-9]//g; 1.7 - if ($base !~ /^[a-z]/ ) { 1.8 + if ($base !~ /^[A-Za-z]/ ) { 1.9 $base = "a".$base; 1.10 } 1.11