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

Hi Luc,

@24-Mar-2003, 18:28 +0100 (17:28 UK time) Luc [L] in
mid:[EMAIL PROTECTED] said:

L> Maybe a regex that has some kind of condition:

L> if A B = [EMAIL PROTECTED], use A, otherwise use B ... or something
L> like this: i'm a blundering idiot when it comes to these things
L> i'm afraid lol.

Maybe a couple of QTs can help you to do this:

,-----=[ FNatom ]=-----<
%SETPATTREGEXP='(.*?)\.(.*?)@'%REGEXPMATCH='%OFROMADDR'%-
%SUBPATT='1'%-
`----------------|

,-----=[ SNatom ]=-----<
%SETPATTREGEXP='(.*?)\.(.*?)@'%REGEXPMATCH='%OFROMADDR'%-
%SUBPATT='2'%-
`----------------|

Then use this IF combo to implement the logic (you can hide this in
a QT too.

%IF:'%QINCLUDE=+FNatom+'='%TOFNAME':'%TOFNAME':'%-
%IF:"%QINCLUDE=+SNatom+"="%TOFNAME":"%TOLNAME":"%TOFNAME"'%-

This is untested.

- --
Cheers -- .\\arck D Pearlstone -- List moderator
TB! v1.63 Beta/7 on Windows 2000 5.0.2195 Service Pack 2
'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1rc1-nr1 (Windows 2000)

iD8DBQE+f058OeQkq5KdzaARArTlAJ996+aIZKSVYQNWJfDLWWzBwRf2ZwCeMVf4
vPKI7O+tYF3L+CnFBxb6zZY=
=2c94
-----END PGP SIGNATURE-----



________________________________________________________
 Current version is 1.61 | "Using TBTECH" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to