Monday, August 28, 2000, 12:54:10 PM, you wrote:

>>> For a simple OR function, would we have:

>>> '[str A]|[str B]'

I've backed off from using the | for now, and have a more basic
question.

Let me give a specific example. I have a rule that has two strings in
two sets in the Alternatives section. The exact strings, copied from
TB are: 

[X-SBClass: Blocked]
[X-SBClass: Spam]

A message with either of these is sent to the 'spam' folder. That
works.

BUT, a message with the header

X-SBClass: Admin

is *also* sent to spam. Neither of the 'spam' strings is in the message
at all. Why is this happening?

I first had the strings in there without the [] brackets - is still
sends it to the wrong place. Should this (in theory) make a
difference?

Theory 1: it is just comparing the string up to the first space, and
ignoring the rest. If so, what special characters can I use to get TB
to compare the whole string, including the embedded spaces?

Theory 2: one needs to check the 'regular expressions' box in options
to get this to work. Is this true?

JA>>  As far as I know, no.  In a *single* string set, you could only do the
JA>>  C and D and (E or F).  See my example in a previous post to this
JA>>  thread.

MDP> Absolutely.  ZTrader  -  Januk's  example  was *crystal* clear on this
MDP> point.

I think I understand that, but this is subject to change with the
next thing that does not work as I thought it would :-).

Thanks much,
 ztrader                            mailto:[EMAIL PROTECTED]

-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

You are subscribed as : [email protected]


Reply via email to