Hi everyone.
Not sure if I am missing something simple here, but I am having trouble when attempting to set up a filter in MWP 2010.
I have only just started using MWP 2010 after an enforced break from MWP 6 whn my PC decided to die on me and I have been using a laptop that a friend
I start by filling in the "Desription" box, in this case using "Casino Filter".
Filter type is Spam.
Apply filter to emails that match ANY of the following rules.
Add a Standard Rule.
Entire message contains RegEx
[cC][aA4][sS5][iI][nN][oO]
When I click on Save I get the message "A name must be given to this filter."
But I thought I had given it a name when I typed in the Description box! What am I missing, or is it a bug?
Custom Filters?
- anniebrion
- βeta Tester
- Contact:
- Location: Milkyway, Sol, Earth, UK, London
Post
Re: Custom Filters?
The description field is really just to remind you what the filter is for, you heed to put a name hext to the colour pickers.
By the way, regex is now not case sensitive by default and a better way to add silly wordings without spaces is to add to the: user files >> Cache >> mwp_conv.dat
Ie
This file converts all the first combination words in an email with the second word.
My regex (using the above additions to mwp_conv.dat) for Casinos is:
Your code would just need to be:
note the ?: in the groups speeds the regex up slightly as it stops the engine storing the matches.
By the way, regex is now not case sensitive by default and a better way to add silly wordings without spaces is to add to the: user files >> Cache >> mwp_conv.dat
Ie
Code: Select all
c4sino casino
cashino casino
ca5hino casino
c45hino casino
c45h|no casino
ca5ino casino
ca5|no casino
cas|no casino
ca5|no casino
c4shino casino
c4sh|n0 casino
c4sin0 casino
cashin0 casino
ca5hin0 casino
c45hin0 casino
c45h|n0 casino
ca5in0 casino
ca5|n0 casino
cas|n0 casino
ca5|n0 casino
c4shin0 casino
c4sh|n0 casino
My regex (using the above additions to mwp_conv.dat) for Casinos is:
Code: Select all
casino|c\ ?(?:a|4)\ ?(?:s|5|sh|5h)\ ?(?:i|\|)\ ?n\ ?(?:o|0))|golden\ ?m(?:u|o)mmy|cc\ gaming|ruby\ .+(?:club|royale?)|king(?:\ ?|-)?spin|ruby\ ?fortuna(?:\ ?club)?
Code: Select all
c(?:a4)(?:s5)(?:i\|)no
Last edited by anniebrion on Mon Aug 30, 2010 5:21 am, edited 6 times in total.
Annie.......... PC details
Mailwasher Pro βeta [v 7.12.39]
Mailwasher Pro βeta [v 7.12.39]
- PhilSmith
- Student Sheep
Post
Re: Custom Filters?
D'oh!
Knew it would be something simple!
Thanks for that and also for your RegEx suggestions.
Phil
Knew it would be something simple!
Thanks for that and also for your RegEx suggestions.
Phil