At 2:22 AM -0600 08/11/2013, Amir 'CG' Caspi wrote:
My regex is valid and appropriate for those comments... I tested it at regexpal.com, which shows that all three comments match just fine (all three get highlighted).

So... why is SA hitting only on the final comment, and ignoring the first two?

Further confusion.  Received another of these types of spam today:

http://pastebin.com/YywcFkui

My new HTML_COMMENT_GIBBERISH rule didn't hit on this one at all. Running the email through regexpal.com shows that the regex _DOES_ hit the comment. Why is this failing in SA even though it works in other environments? Is there something that Perl doesn't like about my regex syntax but that works fine in JavaScript?

Whatever is causing this to fail is probably the same thing causing only the single (versus triple) hit on the previous example.

Your help in debugging would be greatly appreciated...

Thanks!

                                                --- Amir

Reply via email to