summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-08 07:56:07 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-08 07:56:07 +0000
commit64361da5e7afc49574493d694069dd8a53e9c8c7 (patch)
tree0deb047cd452ee4cc50a0e6cf170ed9508f882dc
parent1abece39cb99ff11368a04b332e39fba7e9ee12a (diff)
downloaddrakx-64361da5e7afc49574493d694069dd8a53e9c8c7.tar
drakx-64361da5e7afc49574493d694069dd8a53e9c8c7.tar.gz
drakx-64361da5e7afc49574493d694069dd8a53e9c8c7.tar.bz2
drakx-64361da5e7afc49574493d694069dd8a53e9c8c7.tar.xz
drakx-64361da5e7afc49574493d694069dd8a53e9c8c7.zip
Allow upper case letters in users' real names.
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index f50ec3bf4..98720cd15 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -621,7 +621,7 @@ sub ask_user_one {
callbacks => {
focus_out => sub {
if ($_[0] eq '0') {
- $u->{name} ||= lc first($u->{realname} =~ /([a-z0-9_-]+)/);
+ $u->{name} ||= lc first($u->{realname} =~ /([a-zA-Z0-9_-]+)/);
}
},
complete => sub { $u->{name} ? &$verif : 0 },