[neomutt-devel] limiting to attachments by kind

Richard Russon rich at flatcap.org
Fri Dec 9 19:38:07 CET 2016


> how to extend, though?
> 
>   ~X pdf          with at least one PDF
>   ~X pdf ~X doc   with at least one PDF and at least one DOC
>   ~X doc,pdf,zip  with at least one of DOC,PDF,ZIP each

These seem a bit limited.
It's little extra effort (in the code or the config) to make these regexes:

    ~X \.pdf$
    ~X \.pdf$ ~X \.doc$
    ~X \.(doc|pdf|zip)$

Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20161209/302532cf/attachment.sig>


More information about the neomutt-devel mailing list