-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Saturday, September 29, 2001 at 6:00:58 PM ,
Marck D Pearlstone wrote about "Improved PGP sig strip regexp":
> Since it's a bug fix too, I've replaced the one on the FAQ with it
> now.
Well, time for a new bug fix:
%quotes='%SETPATTREGEXP="(?is)((\s*)?\n?-----BEGIN PGP %-
SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(-*?\s*?--\s*\n|_{40,}\s*\n|-----%-
BEGIN PGP SIGNATURE.*s?\n|-+\s+.*roups.*~--\>)|\n+_{0,}?\n.*MSN\sExplor|\z)"%-
%REGEXPBLINDMATCH="%text"%SUBPATT="4"'
There were issues where stripping MSN/Hotmail adds
was concerned. I hopefully fixed it (at least in
my tests)
Problem appeared when the Hotmail user sent an e-mail that had
the HTML part attached to it. In that case the
______________________________________________________
line is added only in the HTML part (prolly the <HR> tag pair)
and the text part has only the add:
Get your FREE download of MSN Explorer athttp://explorer.msn.com
With the old regexp this appeared in the reply, with the one
above it does not, and furthermore this was tested a bit more,
and seems to work flawlessly.
Marck, anytime you want to change the page...
Sorry for the late fix, but well, I was confronted with this new
add a few minutes ago.
- --
"Please remain calm...I may be mad, but I am a professional."
- --Mad Scientist
______________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32)
Comment: Member of the PGP-Basics, Encryption Help Team
iD8DBQE7tePv8WBGNj3ut+0RAn4tAJ0TxD+N9Mb6Om1vO1XQYM6dxWUr8ACgyD/v
JJJogJA5pIfEzTbc5FJyDdY=
=uIAy
-----END PGP SIGNATURE-----
--
______________________________________________________
Archives : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]