From: Stephen Hemminger Date: Fri, 5 Mar 2010 21:43:06 +0000 (-0800) Subject: get_maintainer: quote email address with period X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a63ceb4c36a7674f7efa90e8ba96b44a3989d717;p=openwrt%2Fstaging%2Fblogic.git get_maintainer: quote email address with period Picky mail systems won't accept email addresses where recipient has period in name; ie. David S. Miller will not work. Signed-off-by: Stephen Hemminger Acked-by: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 9bb094138dd8..b61002dceaba 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -605,7 +605,7 @@ sub parse_email { $name =~ s/^\"|\"$//g; $address =~ s/^\s+|\s+$//g; - if ($name =~ /[^a-z0-9 \.\-]/i) { ##has "must quote" chars + if ($name =~ /[^\w \-]/i) { ##has "must quote" chars $name =~ s/(?