I have a custom text spam filter: ".be/ind". When I do a manual scan with it, it works fine. The filter fails on incoming email. From the error message (below), it looks like the slash is being interpreted as modifying a regular expression, which is not my intent. (I am trying to filter out URLs like "www.foo.be/index.html").
preg_match_all(): Unknown modifier 'n' in /home/espertus/domains/beyondsatire.us/public_html/modules/spam/spam.module on line 937.
Thank you.
Comments
Comment #1
amanda commentedThis is an old bug report but I'll have a go at it anyhow. You don't explain what you mean by "run manually" -- are you saying that when you click on "scan" to run that filter, it works fine? When does it fail?
My guess is that the PCRE you're looking for is something more like:
\.be\/indComment #2
jeremy commentedNo further updates. Hopefully the suggestion by Amanda solves your problem. Closing.
Comment #3
(not verified) commented