Hello Peter,
It was foretold that on Thursday, October 4, 2001 at 22:51 GMT +0200,
Peter Meyns [PM] would type:
PM>
On%SETPATTREGEXP="(?m-s)Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:[\d]{0,2})\s*?(.*))"%REGEXPMATCH="%HEADERS"GMT
(which was %ODateShort, %OTime +0200GMT
PM> where I live), %OFROMNAME wrote this about "%OSUBJ":
<snip>
PM> So the exact date/time is given, but the regexp takes "Delivery-date"
PM> instead of "Date".
This was asked previously, so perhaps the version of this macro on the
FAQ website should be updated. You just need to add one character to
your regular expression so it becomes:
On
%SETPATTREGEXP="(?m-s)^Date\:\s*((.*?[\d]{4})\s*([\d]{0,2}\:[\d]{0,2})\s*(.*))"%REGEXPMATCH="%HEADERS"GMT
(which was %ODateShort, %OTime +0200GMT
where I live), %OFROMNAME wrote this about "%OSUBJ":
Personally, given the way you're using the macro, I'd use a simpler
regular expression:
On %SETPATTREGEXP="(?i)^Date\:\s*(.*)$"%REGEXPMATCH="%HEADERS"GMT (which was
%ODateShort, %OTime +0200GMT
where I live), %OFROMNAME wrote this about "%OSUBJ":
--
Thanks for writing,
Januk Aggarwal
Using The Bat! 1.54 Beta/8 under Windows 98 4.10 Build 2222 A
Is it OK to use the AM radio after noon?
--
______________________________________________________
Archives : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]