Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186259
b: refs/heads/master
c: a63ceb4
h: refs/heads/master
i:
  186257: 996b76d
  186255: 8224f68
v: v3
  • Loading branch information
Stephen Hemminger authored and Linus Torvalds committed Mar 6, 2010
1 parent 672a149 commit 7d753e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 22dd5b0cba50a197aaa3bd2790a29ee2e8e4e372
refs/heads/master: a63ceb4c36a7674f7efa90e8ba96b44a3989d717
4 changes: 2 additions & 2 deletions trunk/scripts/get_maintainer.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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/(?<!\\)"/\\"/g; ##escape quotes
$name = "\"$name\"";
}
Expand All @@ -622,7 +622,7 @@ sub format_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/(?<!\\)"/\\"/g; ##escape quotes
$name = "\"$name\"";
}
Expand Down

0 comments on commit 7d753e8

Please sign in to comment.