summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-07 13:16:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-07 13:16:13 +0000
commit06ed40e4dab5e7b372a2de68a73698c6793bd516 (patch)
tree524b5364d67eaf39a211542893d31f9965dca9de /perl-install
parent5e895f5e7a5fc732bb96a0853d9ea71c5425a1d9 (diff)
downloaddrakx-backup-do-not-use-06ed40e4dab5e7b372a2de68a73698c6793bd516.tar
drakx-backup-do-not-use-06ed40e4dab5e7b372a2de68a73698c6793bd516.tar.gz
drakx-backup-do-not-use-06ed40e4dab5e7b372a2de68a73698c6793bd516.tar.bz2
drakx-backup-do-not-use-06ed40e4dab5e7b372a2de68a73698c6793bd516.tar.xz
drakx-backup-do-not-use-06ed40e4dab5e7b372a2de68a73698c6793bd516.zip
small regexp cleanup
Diffstat (limited to 'perl-install')
-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 6b0d22a9f..b8e5e54cc 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -789,7 +789,7 @@ sub ask_users {
callbacks => {
focus_out => sub {
if ($_[0] eq 0) {
- $u->{name} ||= lc first($u->{realname} =~ /((\w|-)+)/);
+ $u->{name} ||= lc first($u->{realname} =~ /([\w-]+)/);
}
},
complete => $verif,