-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Salutation Januk
On 10 April 2001 at 13:17:44 -0700 (which was 21:17 where I live) Januk
Aggarwal a écrit et a fait ces remarques
> Next, in the calling template, use a regular expression like:
> <regexp>
>
>%QINCLUDE='DT-%SETPATTREGEXP="(?m-s)^Date\:.*?(PGP)\sDecrypted.*$"%REGEXPMATCH="%HEADERS"'
> </regexp>
> I have not fully tested this since I don't have PGP installed, but it
> should work just fine.
Sorry it did not work but this seams to
<regexp>
%QINCLUDE='DT-%SETPATTREGEXP=".*?(PGP)\sDecrypted.*$"%REGEXPMATCH="%OSUBJ"'
</regexp>
> Note also that you could have done this with only a single conditional
> regexp.
I am glad you did not.
> The way it works is, the new regexp creates a QT handle depending if it
> matches "PGP Decryped" in the Date line. If it does match, then the QT
> handle is "DT-PGP", otherwise the handle is "DT-" since it didn't find
> "PGP" in the date line.
I think that the reason that it did not work was because it was looking up
the date line on the header and actual needs to look up the original
subject.
> Let us know how well it works.
ere tiz!
- --
TTFN, _______________________________________________
David | MUA :- The Bat! 1.52 Beta/1 | E-mailaholics |
_________________________| Win 2000 Server 5.0.2195 SP1 | International |
| * <-- Tribble | <-- anorexic Tribble |
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8ckt (Build 04/01)
Comment: PGP Signed, sealed, delivered.
iQA/AwUBOtWg3/mK8eZlD0U0EQIGFgCfdaUWhYb4i0jXwaCuFXnBiyW3TLoAmwYH
RW4teMSi52ef3VYYlgIfHQtI
=HMrI
-----END PGP SIGNATURE-----
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>
You are subscribed as : [email protected]