Hello Januk,
(JA == "Januk Aggarwal") [EMAIL PROTECTED] writes:
>> ... 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.
<snip>
JA> This is because these three macros are arguments to the %Quotes macro,
JA> and the delimiters for the %QUOTES macro is single double quotes.
JA> Therefore a different delimiter needs to be used, and so double double
JA> quotes were used.
OK, then this should be equivalent to the original, right?
[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]
I should probably just be trying this myself..
--
...................................................................
Brian Clark <[EMAIL PROTECTED]> PGP-KeyID: 0xE4D0C7C8
Web Architect, Designer, and Programmer Tel: 864.227.0750
http://www.fusionwerks.com/ Fax: 864.942.7249
...................................................................
--
--------------------------------------------------------------
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