damn regex |
Post Reply |
Author | |
AndrewD
Groupie Joined: 03 May 2008 Location: Australia Status: Offline Points: 71 |
Post Options
Thanks(0)
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 |
|
yapadu
Senior Member Joined: 12 May 2005 Status: Offline Points: 297 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.109 seconds.