Discussion:
how to search for Morse code?
Gregor Zattler
2018-07-23 12:20:41 UTC
Permalink
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
--
-... --- .-. . -.. ..--.. ...-.-
Ben Oliver
2018-07-23 14:16:07 UTC
Permalink
Post by Gregor Zattler
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
Ben Oliver
2018-07-24 10:34:28 UTC
Permalink
Post by Ben Oliver
Post by Gregor Zattler
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!

Loading...