Modify ↓
#168 closed bug (invalid)New search/filter not working as expected?
Description
I have a filter, looking up "to:" and searching for something like #?xxx#?@mydomain.de#?
I expect it to get me anything with "xxx" going to my domain, which it did (and still does in amigados-mode).
When I now change it to something like *xxx*@mydomain.de*
in new BoyerMooreSearch it no longer works.
Human (ie. my Attachments (0)Change History (2)comment:1 Changed 3 years ago by thboeckel
comment:2 Changed 3 years ago by padrino
Ok, didn't know that.
Maybe, if not already done, this could be noted somewhere for the non-ITlers among us? Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber
| ||||||||||||||||||||||||||||



The Boyer/Moore string search algorithm is a plain search algorithm, not a pattern matching algorithm as you are trying to use it. The main difference to the former implementation is that Boyer/Moore is a *really* fast algorithm compared to some really dumb standard implementations.
So if you want to use patterns like "#?somebody#?@domain.com" you must enable the AmigaDOS patterns switch. Otherwise you will let YAM search for the exact string "#?somebody#?@domain.com" which is very unlikely to occur as a normal address.