Could someone translate this to psuedocode to help me understand it.

Am I close?

Look for "(?is).*(^Credit\s*Card.*?$).*payment\s*of\s*(.*?\n)" (I don't
understand this string altogether) within string "%TEXT" (which is the text
of the original message w/out headers)

I haven't the foggiest what %SUBPATT="1" and "2" is for though...

Also, is <regexp></regexp> tags necessary?  When are they necessary?
Anytime a REGEX expression is used?  If it is necessary, why?

tia,
JR

-----Original Message-----
[mailto:[EMAIL PROTECTED]]On Behalf Of Januk Aggarwal
Sent: Friday, January 26, 2001 10:52 PM
To: Josh Rogers
Subject: Re: Using a template to strip

<regexp>
%SETPATTREGEXP="(?is).*(^Credit\s*Card.*?$).*payment\s*of\s*(.*?\n)"%REGEXPB
LINDMATCH="%TEXT"%SUBPATT="1"
%SUBPATT="2"
</regexp>

This does assume that the payment info is all on one line.

-- 
______________________________________________________
Archives   : <http://tbudl.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
TBTech List: <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : [email protected]


Reply via email to