Specific regular exp. creating

For all users, who don't speak German!

Moderator: Forum-Team

Re: Specific regular exp. creating

Beitragvon Chactory » 21. Feb 2009, 21:38

Hi together,

in my opinion, you have to be careful not to use too general expressions, for this could yield to false positive filterings.
E.g., if you filter "here", you will filter many non-spam mails with the commonly used word "here" in them. Like Quellcore wrote, "(knock|click)here" is already much more specific.
The expression "bed(ing)" will in fact filter "bed" as well as "beding". If you create an expression simply "beding" (or completely: "(?i)\bbeding\b"), this will particularly filter your searched word.

Regards, Chactory
Vostro 3450, Intel Core i5 2410M 2,3 GHz, 4 GB DDR3 SDRAM 1333 MHz, Windows 7 Pro 64 Bit SP1
Online-Hilfe: «DE» − Chactory's Tipps: «DE» − Anbuva's FAQ: «DE» und «EN» − Bob Loefflers FAQ: «EN»

Bild
Benutzeravatar
Chactory
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 8627
Registriert: 10. Jan 2004, 00:19
Wohnort: Kiel (D)

Re: Specific regular exp. creating

Beitragvon HanSatan » 22. Feb 2009, 20:47

Yes indeed,

I do realise that, and that's why creating reg exps may come hard after few weeks... I modified this reg exp:

Code: Alles auswählen
\b([Qq]uick).?[Cc].?l.?[i1].?c.?k\b
Benutzeravatar
HanSatan
Spam-Jäger
Spam-Jäger
 
Beiträge: 24
Registriert: 21. Feb 2009, 15:26
Wohnort: Poland

Re: Specific regular exp. creating

Beitragvon Chactory » 22. Feb 2009, 22:37

Hi,

that's a cool RegExp! It will filter "quick click", which sounds very specific for spam mails. You are using the "." sign as wildcard, but together with the "?" only, so I don't expect false positive recognitions. If you would permit me to use this idea, I would like to add it to my spam-word list.

Regards, Chactory
Vostro 3450, Intel Core i5 2410M 2,3 GHz, 4 GB DDR3 SDRAM 1333 MHz, Windows 7 Pro 64 Bit SP1
Online-Hilfe: «DE» − Chactory's Tipps: «DE» − Anbuva's FAQ: «DE» und «EN» − Bob Loefflers FAQ: «EN»

Bild
Benutzeravatar
Chactory
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 8627
Registriert: 10. Jan 2004, 00:19
Wohnort: Kiel (D)

Re: Specific regular exp. creating

Beitragvon HanSatan » 23. Feb 2009, 12:09

Sure Bro,

I am working over few other reg exps, based on over 300-400 spam mails from last month+, I will share them soon.
Benutzeravatar
HanSatan
Spam-Jäger
Spam-Jäger
 
Beiträge: 24
Registriert: 21. Feb 2009, 15:26
Wohnort: Poland

Re: Specific regular exp. creating

Beitragvon Chactory » 23. Feb 2009, 22:13

Hi!

You're wellcome! :)

Regards, Chactory
Vostro 3450, Intel Core i5 2410M 2,3 GHz, 4 GB DDR3 SDRAM 1333 MHz, Windows 7 Pro 64 Bit SP1
Online-Hilfe: «DE» − Chactory's Tipps: «DE» − Anbuva's FAQ: «DE» und «EN» − Bob Loefflers FAQ: «EN»

Bild
Benutzeravatar
Chactory
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
 
Beiträge: 8627
Registriert: 10. Jan 2004, 00:19
Wohnort: Kiel (D)

Vorherige

Zurück zu English Forum

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste

cron

 industrious-southeast