Closed Bug 148430 Opened 24 years ago Closed 24 years ago

Mail filters should support regular expressions

Categories

(MailNews Core :: Filters, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 19442

People

(Reporter: mozilla-bugme, Assigned: naving)

Details

Filters with multiple entrys that are set to match any entry only match the first entry. I have encountered this bug on FreeBSD (a few versions ago, but I don't have that machine anymore) and Windows XP. As an example I have a filter for our ideas list. The entry is: -------------------------------------------- Match any of the following Subject begins with [ideas] Subject begins with fw: [ideas] Subject begins with re: [ideas] Move to folder ideas --------------------------------------------- When mail matching the subject "[ideas]" comes in it is correctly filtered to my ideas folder. However, when mail come in that matches either of the other two rules, it lands in my inbox.
Worksforme with june4 branch build, win98. Are you sure the beginning of the subject matched the filter conditions? For instance, if you forward through our client, we use [Fwd: -- so the condition for begins with fwd: wouldn't match. Begins with is a bit more stringent than contains, of course.
Ah, I think I see the problem. At some point in the past, this filtering was case insensitive and worked for my set of filters, which were all lower case. Now, however, the filters are case sensitive and my filters are missing capitalized Re:, Fw:, etc. Case sensitivity is a fine thing, but this is going to make my already large filter list huge! Each filter has to have re:, RE:, Re:, fw:, Fw:, FW: I guess I'll change this bug to a feature request asking for regular expression support in mail filters.
Severity: normal → enhancement
Summary: Mail filters only pay attention to the first filter → Mail filters should support regular expressions
So it's a dupe of bug 19442 =). *** This bug has been marked as a duplicate of 19442 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
marking verified as a duplicate
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.