Re: Full regular expressions

From: Alessandro Vesely <vesely_at_tana.it>
Date: Wed, 02 Jun 2010 13:50:35 +0200

On 01/Jun/10 23:57, Murray S. Kucherawy wrote:
> On Tue, 1 Jun 2010, Quanah Gibson-Mount wrote:
>> I think having the ability to use regular expressions is nearly always
>> useful. ;) They are available in the OpenLDAP ACL's format, for
>> example, but there are plenty of other methods for specifying access
>> there that don't use regex's too. I.e., it's optional for if you need
>> them for more complex expressions, you can do it, but you're not
>> required to.
>
> So perhaps: Add regular expression support, but for back-compatibility,
> do the glob-style translation by default unless access to proper regular
> expressions is specifically requested. Sound right?

Yup. However, I'm not sure that's also the best approach for the
library. Parallel APIs, e.g. DKIM_OPTS_SKIPHDRS_RE, may be a more
direct alternative.
Received on Wed Jun 02 2010 - 11:50:47 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:19:47 PST