# mark all new as read: T~N ;WN Simple Patterns Mutt understands the following simple patterns: ~A all messages ~b EXPR messages which contain EXPR in the message body. =b STRING messages which contain STRING in the message body. If IMAP is enabled, searches for STRING on the server, rather than downloading each message and searching it locally. ~B EXPR messages which contain EXPR in the whole message. ~c EXPR messages carbon-copied to EXPR %c GROUP messages carbon-copied to any member of GROUP ~C EXPR messages either to: or cc: EXPR %C GROUP messages either to: or cc: to any member of GROUP ~d MIN-MAX messages with "date-sent" in a Date range ~D deleted messages ~e EXPR messages which contain EXPR in the "Sender" field %e GROUP messages which contain a member of GROUP in the "Sender" field ~E expired messages ~f EXPR messages originating from EXPR %f GROUP messages originating form any member of GROUP ~F flagged messages ~g PGP signed messages ~G PGP encrypted messages ~h EXPR messages which contain EXPR in the message header ~H EXPR messages with spam tags matching EXPR ~i EXPR messages which match EXPR in the "Message-ID" field ~k messages containing PGP key material ~l messages addressed to a known mailing list (defined by either subscribe or list) ~L EXPR messages either originated or received by EXPR %L GROUP messages either originated or received by any member of GROUP ~m MIN-MAX message in the range MIN to MAX ~n MIN-MAX messages with a score in the range MIN to MAX ~N new messages ~O old messages ~p messages addressed to you (as defined by alternates) ~P messages from you (as defined by alternates) ~Q messages which have been replied to ~r MIN-MAX messages with "date-received" in a Date range ~R read messages ~s EXPR messages having EXPR in the "Subject" field. ~S superseded messages ~t EXPR messages addressed to EXPR ~T tagged messages ~u messages addressed to a subscribed mailing list (defined by subscribe commands) ~U unread messages ~v message is part of a collapsed thread. ~V cryptographically verified messages ~x EXPR messages which contain EXPR in the "References" field ~X MIN-MAX messages with MIN - MAX attachments ~y EXPR messages which contain EXPR in the "X-Label" field ~z MIN-MAX messages with a size in the range MIN to MAX ~= duplicated messages (see $duplicate_threads) ~$ unreferenced message (requries threaded view) ~(PATTERN) messages in threads containing messages matching a certain pattern, e.g. all threads containing messages from you: ~(~P) In the above, EXPR is a regular expression. With the ~m, ~n, ~X, and ~z operators, you can also specify ranges in the forms MIN, MIN-, and -MAX.