-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 11 Feb 2001 20:07:40 +0100, Krister wrote these words of
wisdom:

A>> Maybe this is a very stupid question, but... Why do you need to
A>> use Regular Expression to filter messages with given subject?.

KE> Ummmm, well, there was a discussion on the list a while back where
KE> it was suggested that one used regexp to make a filter match more
KE> exactly, however, i got the very same question from another list
KE> member, which leads me to think that maybe i should try removing
KE> that regexp and simply get the filter back to where it used to
KE> be... After all it worked well then... Thanks a bundle!

The regular expression allows you to define a single string that would
match multiple possibilities. I remember this expression being crafted
with a view to match the intended subject exactly, as well as, the
subject with any typos. IOW's, even if the sender made little
typographical errors, the match would still occur.

Another example of where I used a regular expression for subject
matching in a filter is with respect to colouring forwarded messages.
I created an outgoing filter with a subject string search criteria
using the expression:

^Fwd\:.*

What the expression matches is any subject that starts with the
sequence of characters 'FWD:', and then followed by any number of any
other characters. It will therefore match *any* subject that starts
with 'FWD:' which are all forwarded messages. :=)

- --
  - Allie -
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          A. Curtis Martin        |        List Moderator
      (PGP Key ID: 0x2B0717E2)    |    (TBUDL|TBBETA|TBTECH)
     The Bat! v1.49c | Windows NT 5.00.2195 (Service Pack 1)
** Opinions given are mine and not necessarily those of RITLABS **

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Digitally signed for sender and message authentication.

iQA/AwUBOofKZlfJ62ArBxfiEQJJ6ACfbFiYAP3NoBYt+l1eDrEhxHU0O0EAoLMh
JiPlL1uczdk1v8srhfKnxUZe
=2jrJ
-----END PGP SIGNATURE-----

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

You are subscribed as : [email protected]


Reply via email to