Hi Peter
In a post time stamped 21:40:15 +0200 re: "custom quotes & search criteria"
you wrote:
Peter> I have put together a regexp for the reply template that extracts the
Peter> name of the Sender:
Peter> <onelongline>
Peter> %SETPATTREGEXP='From: (\"?(.+?)\"? *<|([-.\w]*)@)'
Peter> %REGEXPBLINDMATCH='%TEXT'%SUBPATT='2'%SUBPATT='3'
Peter> </onelongline>
Jan responds: As I mentioned in a prior post, the above
works like a charm & I thank you for it.
I'm including another digest sample to illustrate what
I'm now trying to do, alas unsuccessfully.
-----|| original digest-style msg ||-----
There are 2 messages in this issue.
Topics in this digest:
1. Trying to register Ecco Toolkit
From: "Jefferson French" <[EMAIL PROTECTED]>
2. Strange sync behavior with Palm IIIx
From: [EMAIL PROTECTED]
________________________________________________________________________
________________________________________________________________________
Message: 1
Date: Wed, 27 Sep 2000 22:03:31 -0000
From: "Jefferson French" <[EMAIL PROTECTED]>
Subject: Trying to register Ecco Toolkit
the web and email contact info in the
documentation are no longer valid.
-----|| End digest-style Msg ||-----
Jan continues: So I select Jefferson French's msg & want
to reply to it in a personal way via macro. Thanks to
the line you created below, I'm able to lift his name
from the selected text & place it in a folder customized
a reply macro.
Peter> %SETPATTREGEXP='From: (\"?(.+?)\"? *<|([-.\w]*)@)'
Peter> %REGEXPBLINDMATCH='%TEXT'%SUBPATT='2'%SUBPATT='3'
Jan continues: However I'd also like to be able to pull
out the subject of the above selected msg [Trying to
register Ecco Toolkit] instead of the digest subj line
"[EccoPro] Digest ####"
I've tried the following expression without success:
%setpattregexp='Subject: ((\d\D\n$%)%regexpQUOTES)
thinking that:
1. %setpattregexp would look for a pattern within the
selected text
2. the pattern would look for "Subject"
3. then accept any letter or any digit following
"Subject" ending only at a new line
4. & paste it in the reply template.
Any suggestions would be appreciated. Thanks.
Regards,
Jan Rifkinson
Ridgefield, CT USA
Reply to: [EMAIL PROTECTED]
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : archive@jab.org