On Tue 30 March 2004, 22:34:01 +1000, Carsten Thönges wrote:
<...snip...>
> It's because the pattern doesn't need to match the whole subject.
>
> This regexp should work: "^(.*?)(?: - .*)?$"
Thanks Carsten.
It's obvious once you explain it and, of course, it's the detail that is
so important.
* Robin Anson writes:
> On Tue 30 March 2004, 2:54:02 +1000, Marck D Pearlstone wrote:
> MDP>>> %IF:"%ABtoGender"="0":"Spett.le":"Egr." %-
> MDP>>> %SETPATTREGEXP="(.*)( - .*)?"%-
> MDP>>> %REGEXPBLINDMATCH="%ABTOLASTNAME='%TOLNAME'"%-
> MDP>>> %SUBPATT(1)
> JO>> Don't Know why the brackets in (
On Tue 30 March 2004, 2:54:02 +1000, Marck D Pearlstone wrote:
MDP>>> %IF:"%ABtoGender"="0":"Spett.le":"Egr." %-
MDP>>> %SETPATTREGEXP="(.*)( - .*)?"%-
MDP>>> %REGEXPBLINDMATCH="%ABTOLASTNAME='%TOLNAME'"%-
MDP>>> %SUBPATT(1)
JO>> Don't Know why the brackets in ( - .*)? are useless, but it's runnin
Dear Jacopo,
@29-Mar-2004, 18:49 +0200 (29-Mar 17:49 UK time) Jacopo Ognibene
[JO] in mid:[EMAIL PROTECTED] said to Marck:
MDP>> %IF:"%ABtoGender"="0":"Spett.le":"Egr." %-
MDP>> %SETPATTREGEXP="(.*)( - .*)?"%-
MDP>> %REGEXPBLINDMATCH="%ABTOLASTNAME='%TOLNAME'"%-
MDP>> %SUBPATT(1)
JO> Yes, finall
Dear Marck, on Mon, 29 Mar 2004, at 13:17:50 [GMT +0100] (which was
14.17 here in Italy) you wrote:
MDP> Maybe my fault - you really want to do this:
MDP> %IF:"%ABtoGender"="0":"Spett.le":"Egr." %-
MDP> %SETPATTREGEXP="(.*)( - .*)?"%-
MDP> %REGEXPBLINDMATCH="%ABTOLASTNAME='%TOLNAME'"%-
MDP> %SUB
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="(.*
Marck, on Mon, 29 Mar 2004, at 12:36:07 [GMT +0100] (which was 13.36 here in
Italy) you wrote:
MDP> I thought the ' - work' bit was on the last name. No?
MDP> If it's on the first name, then you can do this:
MDP> %IF:"%ABtoGender"="2":"Cara":"Caro" %-
MDP> %SETPATTREGEXP="(.*)( - .*)?"%-
MDP> %
Dear Jacopo,
@29-Mar-2004, 11:55 +0200 (29-Mar 10:55 UK time) Jacopo Ognibene
[JO] in mid:[EMAIL PROTECTED] said to Robin:
JO> Following is the mine:
JO> %IF:"%ABtoGender"="2":"Cara":"Caro" %ABtoFIRSTName="%TOFNAME",
JO> And this is the Mark's Solution for cutting the name:
JO>
JO> I got no
Robin, on Sun, 28 Mar 2004, at 08:46:55 [GMT +1000] (which was 0.46 here in
Italy) you wrote:
RA> Or set "Display name as: User-defined", set the first and last names
RA> correctly and add " - work" to the display name.
Thanks for your reply, I appreciate!
But now I have more than 1.200 entr
On Sun 28 March 2004, 1:58:49 +1000, Marck D Pearlstone wrote:
> The address book is stunningly versatile. You can do as you have
> done and use a simple regexp to extract the name
> %SETREGEXP="(.*) - .*"%REGEXPMATCH="%ABTOLASTNAME"
>
> Or you can use the middle name field.
>
> Or groups.
Or se
Dear Jacopo,
@27-Mar-2004, 16:52 +0100 (27-Mar 15:52 UK time) Jacopo Ognibene
[JO] in mid:[EMAIL PROTECTED] said to Jacopo:
JO>> I've setted the entries in my Address Book adding the category in the
JO>> last name, after a " - " mark.
JO>> E.g. first="Jacopo", last="Ognibene - Work"
JO> It's
Jacopo, on Sat, 27 Mar 2004, at 16:33:38 [GMT +0100] has wrote:
JO> I've setted the entries in my Address Book adding the category in the
JO> last name, after a " - " mark.
JO> E.g. first="Jacopo", last="Ognibene - Work"
It's me. Do you think there is a better way to organize the entries in
t
Hi Bats!
I've setted the entries in my Address Book adding the category in the
last name, after a " - " mark.
E.g. first="Jacopo", last="Ognibene - Work"
Now, I use a template for automatic addressing to the recipient by:
- the first name (for friends) e.g. "Hi John!"
- the last name (f
13 matches
Mail list logo