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

In <[EMAIL PROTECTED]">mid:[EMAIL PROTECTED]>,
Januk Aggarwal [JA] wrote:'

>> (?ims)^CC:.*[EMAIL PROTECTED]

>> shouldn't work.

JA> Just be slightly careful. Yours will match if Dwight's address appears
JA> *anywhere* in the headers after the CC line. That includes the To: or
JA> From: or any other header (however rare that might be.)

JA> A more restricted regexp would look something like:

JA> (?im-s)^CC:.*?(\n\s.*)*([EMAIL PROTECTED])

I see what you mean. :) It would catch all my messages since MDaemon
adds an X Header containing my e-mail address at the bottom of the
headers.

However, sometimes the CC list is in multiple lines and there are more
than one e-mail address per line. What do we do for that?

- --
Allie C Martin     \      TB! v1.62/Beta1 & Windows XP Pro
 List Moderator    /   PGP Key - http://pub-key.ac-martin.com
'
-----BEGIN PGP SIGNATURE-----

iD8DBQE9WNtjV8nrYCsHF+IRAgRNAJ9j3o4NgrybazfC79q7L9tVRgw/qQCfVdu7
pl8aHpVmrtj+UrDfENoc1mY=
=G/nL
-----END PGP SIGNATURE-----


______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to