Print Page | Close Window

damn regex

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
Printed Date: 10 December 2018 at 8:32am

Topic: damn regex
Posted By: AndrewD
Subject: damn regex
Date 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.


Posted By: yapadu
Date 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:




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.

Print Page | Close Window