CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
spacer spacer

Please help with Regular Expression problem
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic       All -> FavForums -> Mailwasher - Troubleshooting / General [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
Ikeb

Special Response Team
Forums Admin

Joined: Apr 20, 2003
Posts: 16543

Forums Admin Moderators MVP Premium SRT Team CC Committee Team F@H

PostPosted: Sun Dec 21, 2003 10:52 pm    Post subject:
Reply with quote

denn988 wrote:
I'm still trying to figure out what the point of escaping a space is... Confused

Good point. Neither do I.

Back to top
View users profile Send private message
Walt

Sergeant
Sergeant


Joined: Mar 15, 2003
Posts: 91
Location: USA

PostPosted: Mon Dec 22, 2003 5:57 pm    Post subject:
Reply with quote

marke wrote:
I think that it would be a great idea to have all the "filter" discussions grouped together. Is it possible to have a Mailwasher filter section on this forum?


I agree! Thumbs Up

A "Regular Expressions as filters: Tips and suggestions" forum here on Computercops in the Firetrust section, would be great!

You all have document some really great ideas in these threads. It would be so much better, if they could be "saved" in an obvious place for others to use as reference months or years from now when this particular thread is buried deep behind newer threads.

Back to top
View users profile Send private message
marke

Corporal
Corporal


Joined: Jul 14, 2003
Posts: 50
Location: New_Zealand

PostPosted: Mon Dec 22, 2003 6:51 pm    Post subject:
Reply with quote

Ikeb

I have posted the regexpr files as you suggested. The link is http://www.lmphotonics.com/forum/files.php?action=category&id=6

denn988 Yes, I do not understand why the escaped space is necessary, but I found a situation where the regular expression under discussion did not work on a mailwasher message, but when I escaped it, it worked fine. - it worked OK eitherway in the test software.
If it doesnot do any harm, and it picks up some more spam, then I would add it!
I am interested in any thories as to why it did not work with the unescaped space.
Best regards,

Back to top
View users profile Send private message Visit posters website
denn988

Guest
IP: 66.44.*.*






PostPosted: Mon Dec 22, 2003 10:09 pm    Post subject:
Reply with quote

marke wrote:
Ikeb

I have posted the regexpr files as you suggested. The link is http://www.lmphotonics.com/forum/files.php?action=category&id=6

denn988 Yes, I do not understand why the escaped space is necessary, but I found a situation where the regular expression under discussion did not work on a mailwasher message, but when I escaped it, it worked fine. - it worked OK eitherway in the test software.
If it doesnot do any harm, and it picks up some more spam, then I would add it!
I am interested in any thories as to why it did not work with the unescaped space.
Best regards,


Marke,

I am aware of a few weaknesses with the Regular Expression engine used by WMP, the biggest one I can think of right off hand involves a problem in certain circumstances when nesting expressions within layers of ()s.

I am sure there are others that I am not aware of, as most of the problems will not show up in the more simple expressions that most people would use. When the more complex expressions are written, it can cause underlying 'bugs' to become apparent. That may be what happened with your expression.

For the most part, escaping a 'space' should not be required, and if it is, you should examine what is happenning as closely as possible in the hope of finding the underlying 'bug' that is causing that. If you find it and understand it, you will be able to write better expressions in the future, because you will know the limitaions of the engine. That is always a good thing to know. Smile

Back to top
Ikeb

Special Response Team
Forums Admin

Joined: Apr 20, 2003
Posts: 16543

Forums Admin Moderators MVP Premium SRT Team CC Committee Team F@H

PostPosted: Tue Dec 23, 2003 7:03 am    Post subject:
Reply with quote

denn988 wrote:
For the most part, escaping a 'space' should not be required, and if it is, you should examine what is happenning as closely as possible in the hope of finding the underlying 'bug' that is causing that. If you find it and understand it, you will be able to write better expressions in the future, because you will know the limitaions of the engine. That is always a good thing to know. Smile

Indeed. And of course let us all know what you found Marke. We also want to know how to deal with the limitation as well!

Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> Mailwasher - Troubleshooting / General All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001 phpBB Group
spacer spacer