Hi,
I have the following in my filter:
# this filters blocks mail with the subject 're[nn]'
if $h_subject: matches re\\[\\d+\\]\$ or
$h_subject: matches re:\\[\\d+\\]\$ or
$h_subject: matches re:\s\\[\\d+\\]\$ or
$h_subject: matches re\s\\[\\d+\\]:\$ or
$h_subject: matches re\s\[\d+\]:\$ or
$h_subject: matches re\s\[\d+\]\$ or
$h_subject: matches re\\[\\d+\\]:\$ then
freeze
endif
I am trapping most of the mails but ones with a white space between
the re and the first [ are getting through. I thought the /s would
match a single white space, have I got it wrong?
I have slightly over-cooked this filter to try and get the variation
of mail, and there are a few too many escapes in the above. I have
tried escaping the \s in the past but that didn't seem to work. I am
sure someone could help condense this down to two lines. Any ideas?
Cheers.
Dp.
~~
Dermot Paikkos * dermot@???
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668