how to search for Morse code?

classic Classic list List threaded Threaded
3 messages Options
Gregor Zattler Gregor Zattler
Reply | Threaded
Open this post in threaded view
|

how to search for Morse code?

Hello,

today I searched for emails containing

-... --- .-. . -.. ..--.. ...-.-

tried with

notmuch search "-... --- .-. . -.. ..--.. ...-.-"

and

notmuch search '-... --- .-. . -.. ..--.. ...-.-'

and even

notmuch search '"-... --- .-. . -.. ..--.. ...-.-"'

and also with double dashes in front of the search term:

notmuch search -- "-... --- .-. . -.. ..--.. ...-.-"


All these searches produce

notmuch search: A Xapian exception occurred
A Xapian exception occurred parsing query: Unknown range operation
Query string was: "-... --- .-. . -.. ..--.. ...-.-"


Is it possible to search for emails containing my supposedly
funny signature?


Obviously this is not much of a problem for me, but perhaps I hit
a hidden bug?


Ciao; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch
Ben Oliver Ben Oliver
Reply | Threaded
Open this post in threaded view
|

Re: how to search for Morse code?

On 18-07-23 14:20:41, Gregor Zattler wrote:
>Hello,
>
>today I searched for emails containing
>
>-... --- .-. . -.. ..--.. ...-.-
>

Heh

I suppose the problem is that xapian won't take two periods ".." even in
quotes.

I asked on their IRC about how to escape it but it's quiet

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch

signature.asc (499 bytes) Download Attachment
Ben Oliver Ben Oliver
Reply | Threaded
Open this post in threaded view
|

Re: how to search for Morse code?

On 18-07-23 15:16:07, Ben Oliver wrote:

>On 18-07-23 14:20:41, Gregor Zattler wrote:
>>Hello,
>>
>>today I searched for emails containing
>>
>>-... --- .-. . -.. ..--.. ...-.-
>>
>
>Heh
>
>I suppose the problem is that xapian won't take two periods ".." even
>in quotes.
>
>I asked on their IRC about how to escape it but it's quiet
So it seems like morse code would not be indexed, which makes sense.

Sorry!

_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch

signature.asc (499 bytes) Download Attachment