On Sat, 18 Jul 2009, Charles Gregory wrote:
uri /http:\/\/groups.yahoo.com\/group\/[^\/]{10,20}\/message\/1$/

Oops. Don't forget to throw a RULE NAME into that rule. Sorry.
I keep omitting stuff like that because I edit/save my rules in a handy little 'shorthand' format file, with everything on one line, like this:

{DateSeq} {rule-type} /{rule}/ {"description"{ {score}

I then run a script on my pseudo-rules, to process them
into standard SA three-line rule definitions, in a .cf file.
It makes for a shorter/cleaner file for me to edit, and also allows
me to run a simple script against the logs and then process
it on the shorthand file to remove rules that no longer trigger...

I also have the script handle a few other minor code-tweaks, like
automatically inserting "?:" into groupings and escaping any use of "@".

The rule, between slashes, is the same, but the format leads to
some weird quoting when I post a rule. :)

- Charles

Reply via email to