Re: [PATCH] git send-email: edit recipient addresses with the --compose flag
- From
- Ian Hilt <ian.hilt@gmx.com>
- Date
- Nov 11, 2008, 20:53 UTC
- Message-ID
- <alpine.LFD.2.00.0811111551450.24205@sys-0.hiltweb.site>
- In-Reply-To
- <alpine.LFD.2.00.0811111542230.24205@sys-0.hiltweb.site>
On Tue, 11 Nov 2008, Ian Hilt wrote:
Hm, how about keeping the path to perl in the snippet,
--8<-- #!/usr/bin/perl -Tw use strict; my $ws = "To: \nCc:";
$ws =~ /^To:\s*(.+)\s*\nCc:/ism;
if ($1 eq ' ') {
print "\$1 is equal to a space.\n";
}
-->8--