Comments you submit will be routed for moderation. If you have an account, please log in first.

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#168 closed bug (invalid)

New search/filter not working as expected?

Reported by: padrino Owned by:
Priority: undecided Milestone:
Component: mail filtering Version: 2.6
Severity: minor Keywords:
Cc: OS Platform:
Blocked By: Blocking:
Release Notes:


I have a filter, looking up "to:" and searching for something like


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


in new BoyerMooreSearch it no longer works.

Human (ie. my ;)) error, or something wrong with the new algo?

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by tboeckel

  • Resolution set to invalid
  • Status changed from new to closed

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#?" you must enable the AmigaDOS patterns switch. Otherwise you will let YAM search for the exact string "#?somebody#?" which is very unlikely to occur as a normal address.

comment:2 Changed 6 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? :)

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

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

  • Mario Cattaneo(Reporter, Participant)