Hello SyP,
Historians believe that Mon, 5 Feb 2001 at 16:30 GMT +0100 was when,
SyP [S] typed the following:
Januk>> <regexp>
Januk>>
%WRAPPED='%SETPATTREGEXP="(?is)^Content-type:\s*(?(?=multipart/mixed).*?;-^-;(.*))"%REGEXPBLINDMATCH="%HEADERS;-^-;The
next HTML message that comes in here bites the dust"%SUBPATT="1"
Januk>>
%SETPATTREGEXP="(?is)^Content-type:\s*(?(?=text/html).*?;-^-;(.*))"%REGEXPBLINDMATCH="%HEADERS;-^-;I
don't want no stinkin' HTML"%SUBPATT="1"'
Januk>> </regexp>
S> I guess I'm just misunderstanding something, but the above regexp
S> always outputs the text below for me:
S> t want no stinkin' HTML"'
S> What have I done wrong?
You didn't correct my typos. :) Seriously though, you need to double
up the single quotes in don't and stinkin'. In other words, make it
don''t and stinkin''.
Also, there is no guarantee this will work as advertised. I didn't do
much testing.
--
Thanks for writing,
Januk Aggarwal
Using The Bat! 1.49c under Windows 98 4.10 Build 2222 A
Trigonometry for farmers: swine and cowswine. - Erland G.
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>