On 2011-04-29 Troy Piggins wrote: > Check out Victor's reply to my message. He explains the reason, but > I was finding the same as you. This works fine so far: > > if /^Subject:/ > if !/=\?\S+\?=(\s|$)/ > /\S{60}/ REJECT no spaces > endif > endif
For the sake of simplicity: if /^subject: +\S{60}/ !/=\?\S+\?=\s*$/ REJECT no spaces endif Regards Ansgar Wiechers -- "Abstractions save us time working, but they don't save us time learning." --Joel Spolsky