[neomutt-users] search for literal '#'

Rieger Anton nmutt at jikken.de
Tue Oct 2 06:30:51 CEST 2018

On Mon, Oct 01, 2018 at 01:24:26PM -0600, Nicolas Bock wrote:

Hi Nick,

what is wrong with:

    ~b '(merged|closed) #'

as searchstring?
If you're using IMAP, static string search would be faster, as it searches on the server:

    =b 'merged #'

See Pattern Modifier in `man neomutrc` for more information.


>I can't figure out how to search the email body for a string that 
>contains a literal '#' character. What I would like to find are emails 
>that contain the regular expression:
>"\(merged\|closed\) #"
>Is that possible?
>Thanks already!

More information about the neomutt-users mailing list