Dear Jacopo,

@29-Mar-2004, 14:00 +0200 (29-Mar 13:00 UK time) Jacopo Ognibene
[JO] in mid:[EMAIL PROTECTED] said to Marck:

JO> Marck, on Mon, 29 Mar 2004, at 12:36:07 [GMT +0100] (which was 13.36 here in
JO> Italy) you wrote:

MDP>> %IF:"%ABtoGender"="2":"Cara":"Caro" %-
MDP>> %SETPATTREGEXP="(.*)( - .*)?"%-
MDP>> %REGEXPMATCH="%ABTOFIRSTNAME='%TOFNAME'"


JO> Sorry, I apologize. The " - " tag is in the last name. I tried
JO> wit the following but it's not running when the ABtoGender field
JO> is "O" (undefined).

JO> %IF:"%ABtoGender"="0":"Spett.le":"Egr." %-
JO> %SETPATTREGEXP="(.*) - .*?"%-
JO> %REGEXPMATCH="%ABTOLASTNAME='%TOLNAME'"

Maybe my fault - you really want to do this:

%IF:"%ABtoGender"="0":"Spett.le":"Egr." %-
%SETPATTREGEXP="(.*)( - .*)?"%-
%REGEXPBLINDMATCH="%ABTOLASTNAME='%TOLNAME'"%-
%SUBPATT(1)

-- 
Cheers -- //.arck D Pearlstone -- List moderator
TB! v2.05 Beta/12 on Windows XP 5.1.2600 Service Pack 1
'

Attachment: pgp00000.pgp
Description: PGP signature

________________________________________________
Current version is 2.04.7 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to