2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Future direction of m...
FromSent OnAttachments
Sam VarshavchikAug 22, 2005 3:50 am 
Tony EarnshawAug 23, 2005 3:44 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Future direction of maildrop.Actions...
From:Tony Earnshaw (ton@billy.demon.nl)
Date:Aug 23, 2005 3:44:47 am
List:net.sourceforge.lists.courier-maildrop

man, 22.08.2005 kl. 12.50 skrev Sam Varshavchik:

Under consideration in the next major version of maildrop is the replacement of maildrop's internal regular expression pattern match with the functionality provided by the PCRE library (http://www.pcre.org). PCRE is now widely used in many places. A preliminary review shows that PCRE will be able to support all of maildrop's functionality except for the "w" pattern option. With PCRE, the "w" option would require the entire message to be loaded into memory. Maildrop does not load large messages into memory, and this would not be desirable. Therefore, adoption of PCRE will require dropping the "w" option.

The current plan is to have a transition period, with optional fallback to the old regular expression pattern matching engine. The default configuration will use PCRE, and an explicit setting will be required to fallback to the old engine.

This would be nice - I use PCRE for all my Postfix regexps and to my mind the syntax is far more logical and powerful than that of POSIX regexps. One also has the added convenience of pcretest for testing out regexps in advance. If one's OS or distro doesn't already include a recent version of the PCRE libraries (which don't?), compiling from source is usually a breeze.

--Tonni

"What is your definition of 'poor'?" "Well, if your only occupation is collecting dog turds for a living, you're pretty poor ..."