On 2007-10-08 10:22:09 +0200, Santiago Vila wrote: > On Mon, 8 Oct 2007, Vincent Lefevre wrote: > > > I wonder if procmail should also regard them as equivalent too. > > You don't really need that. That's what the idiom > > [ ]* > > exists. Between brackets, there is exactly a space and a tab.
I know it is possible to do that but I want to avoid that because tabs are often stripped (as in your mail!) or converted into spaces, making more difficult to post rules on the web or in mail, or copy-paste them, or just read them (and unfortunately \t is not possible in procmail regexps). Moreover there is an inconsistency between procmail and MTA's and this is a weakness. BTW, DATE=`formail -z -xDate:` :0 * DATE ?? ^, ... is probably better as this doesn't need a literal tab character. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)