Hello Brian,

On  Fri, 22 Dec 2000  at  03:16:56 GMT -0500 (which was 12:16 AM
where I live) witnesses say Brian Clark typed:

> OK, now I'm confused. I tend to get that way with plenty of things, as
> some of you *cough* Marck, Allie *cough* *cough* know.

<g> No problem.

> ... from the "Strip PGP Signatures" example
> in the Macros section of the FAQ:

> [one line]
> %quotes="%SETPATTREGEXP=""(?is)(^-----BEGIN PGP 
>SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(-*?\s*?--
> \s*\n|_{40,}\s*\n|-----BEGIN PGP 
>SIGNATURE)|\z)""%REGEXPBLINDMATCH=""%text""%SUBPATT=""3"""
> [one line]

> Could you tell me why there needs to be two sets of double quotes
> around the regular expression:

> %SETPATTREGEXP=""(?is)(^-----BEGIN PGP SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(-*?\s*?--
> \s*\n|_{40,}\s*\n|-----BEGIN PGP SIGNATURE)|\z)""

> and:

> %REGEXPBLINDMATCH=""%text""

> and this:

> %SUBPATT=""3""

This is because these three macros are arguments to the %Quotes macro,
and the delimiters for the %QUOTES macro is single double quotes.
Therefore a different delimiter needs to be used, and so double double
quotes were used.
 

-- 
Thanks for writing,
 Januk Aggarwal

 Using The Bat! 1.48f
 under Windows 98 4.10 Build 2222  A 

-- 
--------------------------------------------------------------
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]


Reply via email to