View Single Post
Old 13 Aug 2019, 05:33 PM   #25
JeremyNicoll
Essential Contributor
 
Join Date: Dec 2017
Location: Scotland
Posts: 490
Quote:
Originally Posted by SideshowBob View Post
It seems to be a simple glob, but anchored only on the left.
If you only have simple alias values, it may seem so. But if you recall I said earlier that for aliases of form:

pz.df.qa.word.2784@domain

the search will find things if it looks for some or all of any of the individual parts of that, so for example

p or pz
d or df
q or qa
w or wo or wor or word
2 or 27 or 278 or 2784

all filter the display in a sensible way. The problem seems to be that the search only looks at the characters between the dots AND it treats each 'word' as a separate entity.

So a search for, for eg: wor works, even though that's a long way from being anchored at the left of the alias' value.

That might as well have been implemented without any sort of wildcard use, as a simple "does the alias contain 'wor'?" test is enough to make that work, and is easy to understand.

But a search for eg rd or ord does not work. It only works if you code eg *rd, and I think that that's satisfied not by logic that matches "*rd" against "pz.df.qa.word.2784@domain", but logic that maches it against "word" or maybe ".word".

And compared with a simple subtring search that would find "f.q" easily, here you need something like "*f.q".

And all that might be fine, if there was any help available that told anyone how this works... but there isn't.
JeremyNicoll is offline   Reply With Quote