Hi John,
On Monday, June 10, 2002 at 19:11:13 [GMT +1000], you wrote:

JP> I use this macro in a reply template (as kindly posted previously in
JP> this list)

JP> 
%SETPATTREGEXP="(?m-s)Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:[\d]{0,2}\:[\d]{0,2})\s*?(.*))"%REGEXPBLINDMATCH="%HEADERS"
JP> On%SUBPATT="2", at %SUBPATT="3" [GMT%SUBPATT="4"] (%OTIME %DATESHORT
JP> where I live), it was written:-

JP> [...]

JP> I notice in the headers of the messages an "X-Original-Date: Sun, 9
JP> Jun 2002 10:37:01 +0100" (for example).

JP> How would I modify the above macro to pick up this "original" date?

This one should work with these modified messages (I corrected the line
breaks a bit to be easier on the eyes, it shouldn't affect the output of
the macro):

  
%SETPATTREGEXP="(?m-s)^X-Original-Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:[\d]{0,2}\:[\d]{0,2})\s*?(.*))"%-
  %REGEXPBLINDMATCH="%HEADERS"%-
  On%SUBPATT="2", at %SUBPATT="3"
  [GMT%SUBPATT="4"] (%OTIME %DATESHORT where I live), it was written:-

If you've got any more questions, we should take this to TBTECH, which
is the appropriate list for these kind of things.


BTW, your message contains 2 greetings and 2 signatures. Is there any
special reason for this or is it just a template running amok?

-- 
Regards,
Lars

The Bat! 1.60q on Windows XP 5.1 Build 2600 
 ____________________________________________________________
|        Lars Geiger  |  <mailto:[EMAIL PROTECTED]>        |


________________________________________________________
Current Ver: 1.60q
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com

Reply via email to