Re: Filter question (was: Regex question)

2001-03-20 Thread ztrader

On Monday, March 19, 2001, 11:09:31 PM, Thomas wrote:

z This structure is sometimes prefixed with another word or two as:

z [pre1.. pren] Startword stuff in the middle Endword

T No prob, as long as both keywords are in the subject somewhere, it'll
T work.

Thanks for the suggestion. Actually, the reason for the regex is that
I want to filter ONLY if Startword is the FIRST word and Endword is
the LAST word. If they are in any other positions, or if one is
missing, the message is not filtered. The positions are important.

It is actually a bit more complex - Startword and Endword can be one
of about 3 words each. I first wanted to see if the pre part could be
eliminated, and Startword recognized as the "start".

Thanks,

ztrader

-- 
__
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

You are subscribed as : archive@jab.org





Filter question (was: Regex question)

2001-03-19 Thread Thomas

Hi ztrader,

On Mon, 19 Mar 2001 20:28:14 -0800GMT (20/03/2001, 12:28 +0800GMT),
ztrader wrote:

z Startword stuff in the middle Endword

In the filter, create two rules (on the rules tab):

first one: Startword / Location: Subject / Presence: Yes
second one: Endword / Location: Subejct / Presence: Yes

If they both under the first tab, they have to be both true for this
filter to catch. It would also work if someone wrote: "blaba endword
[juhu] startword andson", but that should not happen too often, I
hope.

z This structure is sometimes prefixed with another word or two as:

z [pre1.. pren] Startword stuff in the middle Endword

No prob, as long as both keywords are in the subject somewhere, it'll
work.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste. Anmeldung unter:
[EMAIL PROTECTED]  

Message reply created with The Bat! 1.51
under Chinese Windows 98 4.10 Build 1998  
on a Pentium II/350 MHz.



-- 
__
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]