Hi Roelof, On Thu, 31 Oct 2002 23:42:58 +0100 Roelof Otten <[EMAIL PROTECTED]> wrote:
>> How do I filter out all the messages from this person with a blank >> subject line into one folder, and those with any kind of text in >> the subject line into another? > > Try filtering for a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z > in the subject. (Don't know whether you've got to enable regexp for > this) You'll have to, as the 'alternate', indicated by the pipe symbol, is a regular expression specific one. BTW: the shorter form of above if [a-z] ;-))) > Or enable regexp and check for .* in the subject. (I guess that > this will also catch multiple space as a non-empty subject.) .* will catch even <nothing>. It stand for 'every character, except new line' with a qunatification of 'zero or more times'. So to catch a string containing at least one character (philosohically question: beside in terms of programming, is an empty string really a string? :-) ) the correct regular expression is .+ every character, one or more times :-) Of course this includes a subject containing only one or more spaces and nothing else. So to trigger only on a string containg at least one none-space characters you can use [^ ]+ means: a character of class ([]) "not space" (^ ) one or more times. Or in extendes regular expressions (PCRE) as the one The Bat! makes use of: \S+ means: one or 'non-whitespace character'. 'whitespaces' are space, tab, "carriage return" and "new line". HTH -- Pit ________________________________________________ Current version is 1.61 | "Using TBUDL" information: http://www.silverstones.com/thebat/TBUDLInfo.html

