* On 17 Nov 2016, Vincent Lefevre wrote: > On 2016-11-16 16:08:49 -0800, Brendan Cully wrote: > > changeset: 6857:91b3449f426b > > user: David Champion <[email protected]> > > date: Wed Nov 16 16:05:02 2016 -0800 > > link: http://dev.mutt.org/hg/mutt/rev/91b3449f426b > > > > Adds the '@' pattern modifier to limit matches to known aliases. > > > > Example: ~f joe matches messages from joe. @~f joe matches messages from > > any joe who is defined as an alias. > > Doesn't this introduce an incompatibility change if one searches > for strings with @ in a simple search? If @ is regarded as a > pattern modifier only when followed by ~, then this is fine. > Alternatively, what about the ~@f syntax?
It's in the same class as other prefix pattern modifiers. When I wrote this patch (in 2002?) that was the apparently official way to modify pattern behavior without introducing a new pattern operator. If something else is more desirable right now for aesthetic or consistency reasons I have no objection to changing it, but there are no compatibility issues. -- David Champion • [email protected]
signature.asc
Description: PGP signature
