Re: need help with RegExp - Solution Verified

2005-07-13 Thread Bill McCarthy
On Wed 13-Jul-05 12:52am -0500, alien wrote: Wednesday, July 13, 2005, 12:23:23 AM, you wrote: I posted my test filter - just paste it in you incoming mail filter (right click on Incoming mail and choose paste) and change the destination of the move. Ok, tried that and it didn't work for

Re: need help with RegExp

2005-07-12 Thread Bill McCarthy
On Mon 11-Jul-05 8:45am -0500, alien wrote: I'm trying to detect emails that have hidden http links to dangerous files (scr, exe, etc) in HTML documents . Here are two examples: ahref=http://host144dnx.plugin.com/foto007.scr;http://www.fee.com/docs/fotos/Loren.jpg/a/font/font/p

Re: need help with RegExp - Solution Verified

2005-07-12 Thread Bill McCarthy
On Tue 12-Jul-05 3:33pm -0500, alien wrote: Tuesday, July 12, 2005, 1:09:51 PM, Bill McCarthy wrote: (?s)http://.*\.(?:scr|exe|etc) If that fails you, could you send one of those messages as an attachment? Unfortunately it didn't work either I received your two emails. That above regex

Re: need help with RegExp - Solution Verified

2005-07-12 Thread Bill McCarthy
On Tue 12-Jul-05 9:49pm -0500, alien wrote: Tuesday, July 12, 2005, 9:11:09 PM, you wrote: You apparently are doing something strange :-) That's actually comforting to know, at least the hard RegExp part is out of the way ;-) I tripled checked my filter and can't see anything obviously

Re: Filters

2003-07-02 Thread Bill McCarthy
On Wed 2-Jul-03 10:37am -0400, Carsten Thönges wrote: No. I think it is wrong. The Reply-To address does not necessarily belong to the sender. Wrong may a bit strong. The message to which I'm replying has you in the From: line - you wrote it. It has tbtech in the Reply-To: line. Tbtech was

Re: And now for a regex question

2003-06-25 Thread Bill McCarthy
On Tue 24-Jun-03 4:08pm -0400, David Elliott wrote: I have a subject line which I want to remove part of it when replying to it. I do want to keep all the Re: Fwd: etc. The part that I want to remove is always the same. Could some one help me and give me an explanation at the same time so

Re: And now for a regex question

2003-06-25 Thread Bill McCarthy
On Wed 25-Jun-03 10:02am -0400, David Elliott wrote: a subject from Re: Fw: [OK] This is not working to Re: Fw: This is not working Hmm. This isn't what you asked for. You asked to change it to: Re: Re: Fw: This is not working -- Best regards, Bill

Re: The wq reply template

2003-06-21 Thread Bill McCarthy
On Sat 21-Jun-03 7:32am -0400, Robert D. wrote: Recently, Marck D Pearlstone squawked: ~COMMENT= notice that I HAD to add some such delimiter as the tilde in front of COMMENT (in wq) --- otherwise there was no quoted text whatsoever. What? If you used the wrap2 QT from Marck's message,

Re: The wq reply template

2003-06-21 Thread Bill McCarthy
On Sat 21-Jun-03 3:57pm -0400, Januk Aggarwal wrote: On Saturday, June 21, 2003 at 15:34 GMT -0400, resistance was high, but Bill Mccarthy [BM] made current: BM Looking at the regex in wrap2, it could behave differently if the BM 'initials' in front of '' were longer than 5 characters

Re: The wq reply template

2003-06-21 Thread Bill McCarthy
On Sat 21-Jun-03 1:16am -0400, Januk Aggarwal wrote: I don't know if that's much clearer. Perhaps not. I thought it made your solution crisper but we all look at these things differently. Don't forget, not everyone knows how to read a regexp. Trying to figure out what information is

Re: The wq reply template

2003-06-20 Thread Bill McCarthy
On Fri 20-Jun-03 7:04pm -0400, Marck D Pearlstone wrote: %_Paragraph_1=%Subpatt(1)%- %_Blank_Space=%Subpatt(3)%- %_Remainder_Of_Text=%Subpatt(7)%- %- %WRAPPED(%_Paragraph_1) %_Wrap_Text(%_Remainder_of_Text)%- %- %QINCLUDE(wrap2)'%- Those 9 lines, could be replaced by these 4:

Condition %AttachFile

2003-06-19 Thread Bill McCarthy
Hello TB Tech List, In both tbudl and tbtech, Anirban Das [EMAIL PROTECTED] presented a problem report. Unfortunately, his code in both cases contain syntax errors, the use of the AB is unnecessary is illustrate the point, his use of multiple conditions obscures the problem and his use of group

Re: Condition %AttachFile

2003-06-19 Thread Bill McCarthy
On Thu 19-Jun-03 8:47am -0400, Marck D Pearlstone wrote: ,--/ a \-- | %AttachFile=_c:\a.txt_ `-8- %If:2=2:%QINCLUDE=_a_:2 2%- It works. Hmm, it didn't work here. I even copied and pasted your '%if' as my only line in the template. The new mail came up empty with no

Re: adding blank lines when wrapping quotes? and merging quicktemplates?

2003-06-16 Thread Bill McCarthy
On Mon 16-Jun-03 4:58am -0400, Dimka wrote: Hey there, Bill McCarthy! i receive messages that are poorly broken up into paragraphs [...] B That's impossible to do reliably without artificial intelligence. B If you think I'm wrong, try writing a rule in plain English B that's detailed

Re: Problem with reply counting

2003-06-06 Thread Bill McCarthy
On Thu 5-Jun-03 4:59am-0400, Damien Marichal wrote: I apologize for the first mail, just an error from my part. Some email manager like Outlook put an space between Re and :. The Bat! didn't count it like a reply. For example, the subject line is like this: Re : RE : Re: Re : RE: Hello

Add_Reference Now Works

2003-06-04 Thread Bill McCarthy
Hello TB Tech List, The filter found in The Bat! Library does not function as advertised. The problem is in the export template. The following macro was tested with all 21 possible locations of multi-line In-Reply-To and References lines (since I don't know the official rules as to where these

Re: Add_Reference Now Works

2003-06-04 Thread Bill McCarthy
Thanks, Carsten, for looking this over. I appreciate your efforts. On Tue 3-Jun-03 6:21pm-0400, Carsten Thönges wrote: There are three equal parts (1, 2, 3) that match an IRT or Refereces header. Each followed by an (.*?) (X). You first check for the existance of both headers, then for only

Re: Macro problem: Using the Rethread messages from the MacroLibrary

2003-06-03 Thread Bill McCarthy
On Mon 2-Jun-03 9:08pm-0400, Carsten Thönges wrote: * Bill McCarthy [EMAIL PROTECTED] writes: This is it your version: ((.*\n)In-Reply-To:.*?\nReferences:.*?\n(?:\s.*?\n)*)|((.*\n

Re: Macro problem: Using the Rethread messages from the MacroLibrary

2003-06-02 Thread Bill McCarthy
On Sun 1-Jun-03 5:11am-0400, Carsten Thönges wrote: * Bill McCarthy [EMAIL PROTECTED] writes: The key is knowing what macro represents the clip board. I couldn't find it. %CLIPBOARD Thanks for responding. That was sure simple. But now that I have you on the line g ... Although I'm

Re: Macro problem: Using the Rethread messages from the MacroLibrary

2003-06-01 Thread Bill McCarthy
On Sat 31-May-03 6:59pm-0400, Carsten Thönges wrote: * Bill McCarthy [EMAIL PROTECTED] writes: On Thu 29-May-03 12:13pm-0400, Gwyn Evans wrote: If there is a References: line, remove only it. Any In-Reply-To: line stays put as do any references that had followed the References: line. So

Re: Macro problem: Using the Rethread messages from the MacroLibrary

2003-05-31 Thread Bill McCarthy
On Thu 29-May-03 12:13pm-0400, Gwyn Evans wrote: Has anyone used the Add_Reference from the above http://www.silverstones.com/thebat/Library.html#rethread+messages as whenever I try, the reference doesn't get added to the edited message. snip Is there anyone who's be able to comment on

Re: Unix Mailbox Bug

2003-05-27 Thread Bill McCarthy
On Tue 27-May-03 7:16am-0400, Marck D Pearlstone wrote: @27-May-2003, 02:05 -0400 (07:05 UK time) Bill McCarthy [BM] in mid:[EMAIL PROTECTED] said: This is clearly not in agreement with the original mail. A better approach is to prepend a '' to any text line starting with From , From , From

Re: Unix Mailbox Bug

2003-05-27 Thread Bill McCarthy
On Tue 27-May-03 9:11pm-0400, Marck D Pearlstone wrote: @27-May-2003, 20:46 -0400 (01:46 UK time) Bill McCarthy [BM] in mid:[EMAIL PROTECTED] said: BM I did not suggest it was TB in the mail to which you were responding. Not there, but I was responding to this... ... THAT ISN'T WHAT I

Re: Unix Mailbox Bug

2003-05-27 Thread Bill McCarthy
On Tue 27-May-03 10:49pm-0400, Marck D Pearlstone wrote: @28-May-2003, 03:44 Marck D Pearlstone [MDP] in mid:[EMAIL PROTECTED] said: MDP Indeed. I'll try one, since I use my own servers and no relay: From me. QED - the list servers do it. I'm glad that's cleared up. BTW - you'll notice