diff options
-rw-r--r-- | perl-install/any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 13bd1fe67..f50ec3bf4 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} =~ /([\w-]+)/); + $u->{name} ||= lc first($u->{realname} =~ /([a-z0-9_-]+)/); } }, complete => sub { $u->{name} ? &$verif : 0 }, |