Re: RegEx for null or no body in message

2004-08-13 Thread Miguel A. Urech
Hello Greg,

 No longer on TBBETA but it appears you still check out other TB lists.

Yes, I'm listening here and there :)

 On TBBETA new filter system looks like it is on the table, so
 you may want to re-join to check it out with all of your filters and
 stuff.

Hmmm, maybe I should rejoin. Thanks for letting me know.

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v2.10.03






http://www.silverstones.com/thebat/TBUDLInfo.html


Re: RegEx for null or no body in message

2004-08-09 Thread Alexander Leschinsky
Hello Cricket,

   On Sun, 8 Aug 2004 16:11:14 -0400 (09.08.2004 2:11 my local time),
   received Monday, August 9, 2004 at 8:43:17 +0600,
   you wrote about RegEx for null or no body in message
   at least in part:

C $Text !~ /[a-zA-Z]/

C (body does not contain any letters)
Don't forget about 8-bit languages and numbers
-- 
Best regards,
 Alexander





http://www.silverstones.com/thebat/TBUDLInfo.html


Re: RegEx for null or no body in message

2004-08-09 Thread Alexander Leschinsky
Hello Greg,

   On Sun, 8 Aug 2004 09:39:10 -0500 (08.08.2004 20:39 my local time),
   received Monday, August 9, 2004 at 1:56:17 +0600,
   you wrote about RegEx for null or no body in message
   at least in part:

GS Any way to search for a null body in a message, or no body in a
GS message with TB?
No printable characters after headers (strings without empty lines /2
or more EOL/ in sequence) before EOT
-- 
Best regards,
 Alexander





http://www.silverstones.com/thebat/TBUDLInfo.html


Re: RegEx for null or no body in message

2004-08-09 Thread dAniel hAhler
Hello TBTECH,

on Sun, 8. Aug 2004 at 19:20:31 -0400 Cricket wrote:

 Any way to search for a null body in a message, or no body in a
 message with TB?
d Have you tried using a manual filter with the RegExp '^$' for 'Text'?
 That would match any message that has a blank line in it .. like this
 one. It has 5 blank lines.

You're right. This is because of multiline mode, so this RegExp would do
it instead:
(?-m)^$

probably it may be good to allow whitespace-only in the body:
(?-m)^\s*$


-- 
shinE!
GnuPG/PGP key: http://thequod.de/danielhahler.asc
Lifted with The Bat! 2.12.03 on Windows XP Service Pack 1.
Random software tip: [***] WinAmp Advanced Controls
(http://www.niversoft.com/products/nadvctrls-en.html)




http://www.silverstones.com/thebat/TBUDLInfo.html


Re: RegEx for null or no body in message

2004-08-08 Thread dAniel hAhler
Hello TBTECH,

on Sun, 8. Aug 2004 at 09:39:10 -0500 Greg Strong wrote:

 Any way to search for a null body in a message, or no body in a
 message with TB?

Have you tried using a manual filter with the RegExp '^$' for 'Text'?


-- 
shinE!
GnuPG/PGP key: http://thequod.de/danielhahler.asc
Lifted with The Bat! 2.12.03 on Windows XP Service Pack 1.
Random software tip: [***] The Bat! - EMail client
(http://www.ritlabs.com/the_bat/)




http://www.silverstones.com/thebat/TBUDLInfo.html


Re: RegEx for null or no body in message

2004-08-08 Thread Greg Strong
Hello Miguel,

Sunday, August 8, 2004, 6:16:51 PM, Miguel A. Urech wrote:

MAU I know nothing about Bayesit

Neither do I.  I haven't installed it yet.

MAU but I assume that, like POPFile, it will use the whole message
MAU (i.e. full headers included).

Yes I thought of this afterward.

MAU So, I would use all messages for training even if they have a blank
MAU body.

Makes sense. Although after I started to look at the problem it did
interest me. I'm no reg ex expert, but on help pages posted by Marck I
couldn't find anything.  I'll admit I didn't read everything, but I did
look pretty good in what appeared to be the applicable areas.

No longer on TBBETA but it appears you still check out other TB lists.
Anyway it shouldn't be much longer and all the smileys  stuff should
die down. On TBBETA new filter system looks like it is on the table, so
you may want to re-join to check it out with all of your filters and
stuff.

-- 
Best Regards,
Greg Strong

Using The Bat! v2.13 Lucky Beta/3 on Windows XP 5.1 Build 2600 Service Pack 1





http://www.silverstones.com/thebat/TBUDLInfo.html