- ~A all messages
- ~b EXPR messages which contain EXPR in the message body
- ~B EXPR messages which contain EXPR in the whole message
- ~c USER messages carbon-copied to USER
- ~C EXPR message is either to: or cc: EXPR
- ~D deleted messages
- ~d [MIN]-[MAX] messages with ``date-sent'' in a Date range
- ~E expired messages
- ~e EXPR message which contains EXPR in the ``Sender'' field
- ~F flagged messages
- ~f USER messages originating from USER
- ~g cryptographically signed messages
- ~G cryptographically encrypted messages
- ~H EXPR messages with a spam attribute matching EXPR
- ~h EXPR messages which contain EXPR in the message header
- ~k message contains PGP key material
- ~i ID message which match ID in the ``Message-ID'' field
- ~L EXPR message is either originated or received by EXPR
- ~l message is addressed to a known mailing list
- ~m [MIN]-[MAX] message in the range MIN to MAX *)
- ~M multipart messages
- ~n [MIN]-[MAX] messages with a score in the range MIN to MAX *)
- ~N new messages
- ~O old messages
- ~p message is addressed to you (consults alternates)
- ~P message is from you (consults alternates)
- ~Q messages which have been replied to
- ~R read messages
- ~r [MIN]-[MAX] messages with ``date-received'' in a Date range
- ~S superseded messages
- ~s SUBJECT messages having SUBJECT in the ``Subject'' field.
- ~T tagged messages
- ~t USER messages addressed to USER
- ~U unread messages
- ~v message is part of a collapsed thread.
- ~V cryptographically verified messages
- ~w EXPR messages which contain EXPR in the `Newsgroups' field
- (if compiled with NNTP support)
- ~x EXPR messages which contain EXPR in the `References' field
- ~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 messages (requires threaded view)
- ~* ``From'' contains realname and (syntactically) valid
- address (excluded are addresses matching against
- alternates or any alias)
-
- Where EXPR, USER, ID, and SUBJECT are regexp. Special attention has to be
- made when using regular expressions inside of patterns. Specifically,
- Mutt-ng's parser for these patterns will strip one level of backslash (\),
- which is normally used for quoting. If it is your intention to use a
- backslash in the regular expression, you will need to use two backslashes
- instead (\\).
-
- *) The forms <[MAX], >[MIN], [MIN]- and -[MAX] are allowed, too.
+ Table 7.2. Patterns
+
+ +------------------------------------------------------------------------+
+ | Pattern Modifier | Argument | Description |
+ |------------------+-------------+---------------------------------------|
+ | ~A | | all messages |
+ |------------------+-------------+---------------------------------------|
+ | ~b | EXPR | messages which contain EXPR in the |
+ | | | message body |
+ |------------------+-------------+---------------------------------------|
+ | ~B | EXPR | messages which contain EXPR in the |
+ | | | whole message |
+ |------------------+-------------+---------------------------------------|
+ | ~c | EXPR | messages carbon-copied to EXPR |
+ |------------------+-------------+---------------------------------------|
+ | ~C | EXPR | message is either to: or cc: EXPR |
+ |------------------+-------------+---------------------------------------|
+ | ~D | | deleted messages |
+ |------------------+-------------+---------------------------------------|
+ | ~d | [MIN]-[MAX] | messages with ``date-sent'' in a Date |
+ | | | range |
+ |------------------+-------------+---------------------------------------|
+ | ~E | | expired messages |
+ |------------------+-------------+---------------------------------------|
+ | ~e | EXPR | message which contains EXPR in the |
+ | | | ``Sender'' field |
+ |------------------+-------------+---------------------------------------|
+ | ~F | | flagged messages |
+ |------------------+-------------+---------------------------------------|
+ | ~f | EXPR | messages originating from EXPR |
+ |------------------+-------------+---------------------------------------|
+ | ~g | | cryptographically signed messages |
+ |------------------+-------------+---------------------------------------|
+ | ~G | | cryptographically encrypted messages |
+ |------------------+-------------+---------------------------------------|
+ | ~H | EXPR | messages with a spam attribute |
+ | | | matching EXPR |
+ |------------------+-------------+---------------------------------------|
+ | ~h | EXPR | messages which contain EXPR in the |
+ | | | message header |
+ |------------------+-------------+---------------------------------------|
+ | ~k | | message contains PGP key material |
+ |------------------+-------------+---------------------------------------|
+ | ~i | EXPR | message which match ID in the |
+ | | | ``Message-ID'' field |
+ |------------------+-------------+---------------------------------------|
+ | ~L | EXPR | message is either originated or |
+ | | | received by EXPR |
+ |------------------+-------------+---------------------------------------|
+ | ~l | | message is addressed to a known |
+ | | | mailing list |
+ |------------------+-------------+---------------------------------------|
+ | ~m | [MIN]-[MAX] | message in the range MIN to MAX *) |
+ |------------------+-------------+---------------------------------------|
+ | ~M | | multipart messages |
+ |------------------+-------------+---------------------------------------|
+ | ~n | [MIN]-[MAX] | messages with a score in the range |
+ | | | MIN to MAX *) |
+ |------------------+-------------+---------------------------------------|
+ | ~N | | new messages |
+ |------------------+-------------+---------------------------------------|
+ | ~O | | old messages |
+ |------------------+-------------+---------------------------------------|
+ | ~p | | message is addressed to you (consults |
+ | | | alternates) |
+ |------------------+-------------+---------------------------------------|
+ | ~P | | message is from you (consults |
+ | | | alternates) |
+ |------------------+-------------+---------------------------------------|
+ | ~Q | | messages which have been replied to |
+ |------------------+-------------+---------------------------------------|
+ | ~R | | read messages |
+ |------------------+-------------+---------------------------------------|
+ | ~r | [MIN]-[MAX] | messages with ``date-received'' in a |
+ | | | Date range |
+ |------------------+-------------+---------------------------------------|
+ | ~S | | superseded messages |
+ |------------------+-------------+---------------------------------------|
+ | ~s | EXPR | messages having EXPR in the |
+ | | | ``Subject'' field. |
+ |------------------+-------------+---------------------------------------|
+ | ~T | | tagged messages |
+ |------------------+-------------+---------------------------------------|
+ | ~t | EXPR | messages addressed to EXPR |
+ |------------------+-------------+---------------------------------------|
+ | ~U | | unread messages |
+ |------------------+-------------+---------------------------------------|
+ | ~u | | message is addressed to a subscribed |
+ | | | mailing list |
+ |------------------+-------------+---------------------------------------|
+ | ~v | | message is part of a collapsed |
+ | | | thread. |
+ |------------------+-------------+---------------------------------------|
+ | ~V | | cryptographically verified messages |
+ |------------------+-------------+---------------------------------------|
+ | | | messages which contain EXPR in the |
+ | ~w | EXPR | `Newsgroups' field (if compiled with |
+ | | | NNTP support) |
+ |------------------+-------------+---------------------------------------|
+ | ~x | EXPR | messages which contain EXPR in the |
+ | | | `References' field |
+ |------------------+-------------+---------------------------------------|
+ | ~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 messages (requires |
+ | | | threaded view) |
+ |------------------+-------------+---------------------------------------|
+ | | | ``From'' contains realname and |
+ | ~* | | (syntactically) valid address |
+ | | | (excluded are addresses matching |
+ | | | against alternates or any alias) |
+ +------------------------------------------------------------------------+
+
+ Where EXPR are regexp. Special attention has to be made when using regular
+ expressions inside of patterns. Specifically, Mutt-ng's parser for these
+ patterns will strip one level of backslash (\), which is normally used for
+ quoting. If it is your intention to use a backslash in the regular
+ expression, you will need to use two backslashes instead (\\).
+
+ *) The forms <[MAX], >[MIN] , [MIN]- and -[MAX] are allowed, too.