Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - damn regex
  FAQ FAQ  Forum Search   Register Register  Login Login

damn regex

 Post Reply Post Reply
Author
AndrewD View Drop Down
Groupie
Groupie
Avatar

Joined: 03 May 2008
Location: Australia
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewD Quote  Post ReplyReply Direct Link To This Post Topic: damn regex
    Posted: 03 March 2011 at 12:14am
Hey guys i am one of those people that does sometimes struggle with Regex, but in this case all i am trying to do is match a phrase with a comma at the end.
Simply entering the phrase with the comma, does not seem to work, i suspect that the comma is being treated as a delimiter to another word.
 
here are the regex entries i have tried to no avail.
 
Spamfilter web interface. www.tyrexpg.com.au

See http://www.logsat.com/SpamFilter/Forums/forum_posts.asp?TID=6883
Back to Top
yapadu View Drop Down
Senior Member
Senior Member


Joined: 12 May 2005
Status: Offline
Points: 272
Post Options Post Options   Thanks (0) Thanks(0)   Quote yapadu Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2011 at 4:54am
You can't use a , in any regex with spamfilter.  It is a known bug, no work around (like escaping with ,, or anything like that).

It really hurts you when you want to use quantifiers!

The only option is to format the regex slightly differently.  Not sure if the specific regex implementation in spamfilter supports it but you might try:

\054

or

\x2c

Both of those represent escaped , character in regex.  If the spamfilter implementation supports them your in luck.
--------------------------------------------------------------
I am a user of SF, not an employee. Use any advice offered at your own risk.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.047 seconds.