Closed Bug 184690 Opened 22 years ago Closed 22 years ago

enable wildcards for filters

Categories

(MailNews Core :: Filters, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 19442

People

(Reporter: ddaniels, Assigned: naving)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

I'm getting a variety of spam but it all falls into a couple of categories. I
want to use a wild card like *target phrase* to catch the spam and send it to
the trash.
But * doesn't appear to function as a wildcard

Reproducible: Always

Steps to Reproduce:
1.recieve spam
2.right click on spam email add
3.create filter
4 select subject
5 type *target phrase*
6 save
7 run filter
8 filter doesn't move spam to trash

Actual Results:  
8 filter doesn't move spam to trash

Expected Results:  
move the email containing *target phrase* to the trash
Yes, I'd also like to see a wild card/regexp feature added to filtering as it
would simplify my filter rules quite a bit.
wildcard * doesn't function in mail filter as of 
Mozilla 1.3a
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212

What I'd like to see happen:
I've got email about a project:
subject=[jhotdraw - Open Discussion] RE: Final problem
I want to sift out all emails with the subject line containing "jhotdraw". So I
create a filter for subject = *jhotdraw*
Mail filter does not work
> I want to sift out all emails with the subject line containing "jhotdraw". So 
> I create a filter for subject = *jhotdraw* 

Why not simply do "subject" "contains" "jhotdraw" ?




*** This bug has been marked as a duplicate of 19442 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.