Hello Josh,
Historians believe that Sat, 27 Jan 2001 at 13:12:52 GMT -0800 was when,
Josh Rogers [JR] typed the following:
JR> Could someone translate this to psuedocode to help me understand it.
Did you see Gerd Ewald's message? He broke it down into it's
components, I answered him on TBTECH. If you are not subscribed to
that list, let me know and I'll forward the message to you off-list.
JR> Am I close?
JR> Look for "(?is).*(^Credit\s*Card.*?$).*payment\s*of\s*(.*?\n)" (I don't
JR> understand this string altogether) within string "%TEXT" (which is the text
JR> of the original message w/out headers)
Yup. Read Gerd's message to understand the string.
JR> I haven't the foggiest what %SUBPATT="1" and "2" is for though...
We don't want the whole pattern, we only want the important parts.
These parts are stored in subpatterns. The above macros access just
those patterns.
See the help file under
-> Contents
-> Regular Expressions
-> Regular Expressions Syntax (Advanced)
-> Subpatterns
JR> Also, is <regexp></regexp> tags necessary?
No, I just use them so that the regexp is clearly delineated from the
rest of the message. You can ignore them completely.
JR> When are they necessary?
Never.
<snip>
--
Thanks for writing,
Januk Aggarwal
Using The Bat! 1.49c under Windows 98 4.10 Build 2222 A
I was the next door kid's imaginary friend.
--
______________________________________________________
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]