Hello Januk,
(JA == "Januk Aggarwal") [EMAIL PROTECTED] leaked:
JA> Your best bet is to have two conditional regexps:
OK, let me take this apart and make sure I understand it all (comments
between [square brackets]). I broke this down to one version; Please
fill in my blanks. :)
We'll try this, but you might not understand my logic (or vise
versa?).
%WRAPPED='
%SETPATTREGEXP="
(?is)^Content-type:\s*(?(?=multipart/mixed).*?;-^-;(.*))
[? = don't remember this.]
[is = ignore case, treat as single line]
[^ = beginning of line]
[(? = don't remember this, ?= = "if" multipart/mixed]
[I have no idea what .*?;-^-;(.*)) is for]
"
%REGEXPBLINDMATCH="
%HEADERS;-^-;The next HTML message that comes in here bites the dust
[only looking in %HEADERS]
[I don't understand how the ;-^-; works]
"
%SUBPATT="1"
[displays 'The next HTML message that comes in here bites the dust'?]
[if so, I don't know how]
'
JA> I'm sure you can figure out where to put your sentence in these two...
JA> :-) .
How you read my mind on the output, I'll never know. <bg>
JA> Note: you could have the sentence in a quick template and %QINCLUDE it
JA> into the blind match. Just make sure you keep the delimiter ";-^-;"
JA> intact.
I have no clue what the delimiter is for. Please enlighten me.
*bowing* *bowing* *bowing*
--
...................................................................
Brian Clark <[EMAIL PROTECTED]> PGP-KeyID: 0xE4D0C7C8
Web Architect, Designer, and Programmer Tel: 864.227.0750
http://www.fusionwerks.com/ Fax: 864.942.7249
...................................................................
TB! 1.49e, Windows 98 (SE) 4.10 Build 2222 A
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>