Hi everyone, I've been using SpamBuster for a while and it made my life significantly easier. I thought of an improvement, I implemented it on my forum but the results are not as expected.
My idea was simple - add a regular expression that detects any string that has at least 3 URLs in it.
The regexp I'm using is
Code:
regexp:a_not_too_many_links:15:any:"/(http:\/\/.*){3,}/i"
If I test it with online regex tools, any "bad" string that should be busted is busted; however, when the same regexp is used by SpamBuster - messages are still getting past the filter.
I don't understand what is causing this. My guess is that it has something to do with the priority of the rules used by SpamBuster?
Unfortunately I am not a skilled PHP programmer, but I think I would be able to figure it out if I could step through the code with a debugger (as one can do with other languages) and see the state of each variable as new instructions are executed.
Any thoughts?