procmail
[Top] [All Lists]

Re: Never send mail to /dev/null?

1997-04-16 05:52:00
On Tue, 15 Apr 1997, era eriksson wrote:

As an aside, I can't see how it could +hurt+ to change that .* into
(.*\<)? -- a better bounded search is also more efficient, no? 

If this is a faq, please email me directly.

Could you explain how this is more efficient?  As I read this (with by
admission the eyes of a novice) I think it should try to satisfy the greedy
.* by going to the end of the line, then work backwards character by
character until it meets a "<".  (I'm also not sure why the left angle
bracket is escaped here.) 

I don't doubt that "(.*\<)" is a better choice than ".*" but I would like
to know why before I do it.



/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>


Kirk Job Sluder
csluder(_at_)indiana(_dot_)edu
http://php.ucs.indiana.edu/~csluder/home.html
"Never clap your hands while holding a fountain pen."

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