Re: [PATCH] send-email: fix mutt regex for grouped aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 30, 2009 at 03:08:43AM +0300, Felipe Contreras wrote:

> For example:
> alias -group friends foo Foo Bar <foo@xxxxxxx>

Hmm. If I am reading the mutt docs correctly, is it also legal to have:

  alias -group group1 -group group2 foo Foo Bar <foo@xxxxxxx>

?

Which would need just:

> -		if (/^\s*alias\s+(\S+)\s+(.*)$/) {
> +		if (/^\s*alias\s+(?:-group\s+\S+\s+)?(\S+)\s+(.*)$/) {

   (?:-group\s+\S+\s+)*

I think.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]