| | 3942 | <title>Simple Patterns</title> |
| | 3943 | |
| | 3944 | <para> |
| | 3945 | Mutt supports two versions of so called ``simple searches'' which are |
| | 3946 | issued if the pattern entered for searching, limiting and similar |
| | 3947 | operations does not actually contain a pattern modifier. |
| | 3948 | </para> |
| | 3949 | |
| | 3950 | <para> |
| | 3951 | The first type is by checking whether the query string equals |
| | 3952 | a keyword case-insensitively from <xref linkend="tab-simplesearch-keywords"/>: |
| | 3953 | If that is the case, Mutt will use the shown pattern modifier instead. |
| | 3954 | If a keyword would conflict with your search keyword, you need to turn |
| | 3955 | it into a regular expression to avoid matching the keyword table. For |
| | 3956 | example, if you want to find all messages matching ``<literal>flag</literal>'' |
| | 3957 | (using <link linkend="simple-search">$simple_search</link>, |
| | 3958 | see below but not meaning flagged messages) simply search for |
| | 3959 | ``<literal>[f]lag</literal>''. |
| | 3960 | </para> |
| | 3961 | |
| | 3962 | <table id="tab-simplesearch-keywords"> |
| | 3963 | <title>Simple search keywords</title> |
| | 3964 | <tgroup cols="2"> |
| | 3965 | <thead> |
| | 3966 | <row><entry>Keyword</entry><entry>Pattern modifier</entry></row> |
| | 3967 | </thead> |
| | 3968 | <tbody> |
| | 3969 | <row><entry>all</entry><entry>~A</entry></row> |
| | 3970 | <row><entry>.</entry><entry>~A</entry></row> |
| | 3971 | <row><entry>ˆ</entry><entry>~A</entry></row> |
| | 3972 | <row><entry>del</entry><entry>~D</entry></row> |
| | 3973 | <row><entry>flag</entry><entry>~F</entry></row> |
| | 3974 | <row><entry>new</entry><entry>~N</entry></row> |
| | 3975 | <row><entry>old</entry><entry>~O</entry></row> |
| | 3976 | <row><entry>repl</entry><entry>~Q</entry></row> |
| | 3977 | <row><entry>read</entry><entry>~R</entry></row> |
| | 3978 | <row><entry>tag</entry><entry>~T</entry></row> |
| | 3979 | <row><entry>unread</entry><entry>~U</entry></row> |
| | 3980 | </tbody> |
| | 3981 | </tgroup> |
| | 3982 | </table> |
| | 3983 | |
| | 3984 | <para> |
| | 3985 | The second type of simple search is to build a complex search |
| | 3986 | pattern using <link linkend="simple-search">$simple_search</link> |
| | 3987 | as a template. Mutt will insert your query properly quoted and search |
| | 3988 | for the composed complex query. |
| | 3989 | </para> |
| | 3990 | |
| | 3991 | </sect2> |
| | 3992 | |
| | 3993 | <sect2> |