Re: Searching for unicode characters?

Subject: Re: Searching for unicode characters?

Date: Mon, 17 Mar 2025 13:35:23 -0300

To: Stephen J Eglen, notmuch@notmuchmail.org

Cc:

From: David Bremner


Stephen J Eglen <sje30@cam.ac.uk> writes:

> I'm starting to see unicode characters/emoji being used in subject lines; how does one search for (a) a particular unicode character (b) a range of characters?
>
> e.g. I have a mail with subject shown as:
>
>               🚨 Stephen, big news from Runna! 🚨           
>
> i.e. the first and last char of the subject are: 0x1F6A8 which I can normally enter using C-x 8 RET 1F6A8 RET
>
> When I do a notmuch-search for that character, it doesn't find any matches.
>

For a limited set of fields, regex searches work. Searching for
subject:/🚨/ works for me. For background, see notmuch-search-terms(7)
particularly "Tags and Terms"
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: