procmail
[Top] [All Lists]

Regular Expression Question

1998-03-13 16:58:22

I must be misunderstanding something about Procmail's regular
expressions... I'm using par (at era's suggestion -- thanks BTW) to
reformat e-mail with lines longer than 79 characters. Only problem is that
par bafs if any single word (string of non-space or non- tab characters)
is longer than 79 characters. So, I though I could use a condition as
follows to exclude messages with long words. I used 79 of the
[^      ]'s each of which includes a space and a tab. 

:0B
* other conditions to ID messages with long lines
* ! ^[^         ] <seventy eight more of these>
{ Feed message through par }

Problem is that this fails to exclude messages with long words. What am I
doing wrong?

Thanks,

Andrew

<Prev in Thread] Current Thread [Next in Thread>