Hi BatListers,
In a post timestamped 23:34:05 +0800 re: "custom quotes & search criteria"
Thomas Fernandez wrote:
Thomas> In another account, I use:
Thomas> %quotestyle="%SETPATTREGEXP='([a-zA-Z]*)@'%REGEXPMATCH='%OFromAddr'"%Quotes
Jan responds: so let's see if I can interpret this
correctly:
%quotestyle tells TB! to watch for defined text
=%SETPATTREGEXP tells TB! to set the text based on
the search criteria to follow
=([a-zA-Z]*)@ is the search criteria which = anything
preceding "@" starting with any lower or upper case letter
%REGEXMATCH macro looks for this in the style text in the
'%OFromAddr'info
%Quotes = the text quoted
Why do you put dbl quotes ["] around the entire %Quotestyle
statement?
Thomas> In your case it is the same as %OFName, but in my company, it isn't.
Thomas> Point I'm making: you can use RegEx in %Quotestyle, and it still
Thomas> works. :-)
Jan responds: Thanks Thomas. I find this especially
interesting as I am trying to figure out how to select a
from "name" from selected text in a digest & I'm
wondering if some expanded variation of the above macro
can be used for this purpose.
BTW, I figured out what I was doing wrong with the
%QUOTESTYLE= & I thank you for that also. Although I
reviewed the macro list from TB!Help before asking this
questions of the list, I couldn't figure it out. I'm not
a programmer; maybe that's a part of my problem.
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 : [email protected]