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

Opened 4 years ago

Closed 4 years ago

Last modified 4 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:

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 ;)) error, or something wrong with the new algo?

Attachments (0)

Change History (2)

comment:1 Changed 4 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#?@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.

comment:2 Changed 4 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

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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)