{"thread":{"id":"9204","subject":"[PATCH] send-email: Update regex parsing for pine aliases","startedAt":"2007-07-24T14:50:38Z","lastAt":"2007-07-24T14:50:38Z","messageCount":1,"participants":["Kumar Gala"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"48475","messageId":"Pine.LNX.4.64.0707240949040.19035@blarg.am.freescale.net","threadId":"9204","inReplyTo":null,"subject":"[PATCH] send-email: Update regex parsing for pine aliases","fromName":"Kumar Gala","fromEmail":"galak@kernel.crashing.org","sentAt":"2007-07-24T14:50:38Z","receivedAt":"2007-07-24T14:50:38Z","isPatch":true,"sender":{"key":"galak@kernel.crashing.org","avatar":null},"body":"The pine address book format is tab seperated and the first field\nis the nickname/alias and the third field is the email address as\nper:\n\nhttp://www.washington.edu/pine/tech-notes/low-level.html\n\nSigned-off-by: Kumar Gala <galak@kernel.crashing.org>\n---\n git-send-email.perl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/git-send-email.perl b/git-send-email.perl\nindex a09b1c9..f43f92f 100755\n--- a/git-send-email.perl\n+++ b/git-send-email.perl\n@@ -237,7 +237,7 @@ my %parse_alias = (\n \t\t\t$aliases{$1} = [ split(/\\s+/, $2) ];\n \t\t}}},\n \tpine => sub { my $fh = shift; while (<$fh>) {\n-\t\tif (/^(\\S+)\\s+(.*)$/) {\n+\t\tif (/^(\\S+)\\t.*\\t(.*)$/) {\n \t\t\t$aliases{$1} = [ split(/\\s*,\\s*/, $2) ];\n \t\t}}},\n \tgnus => sub { my $fh = shift; while (<$fh>) {\n-- \n1.5.2.2\n"}]}