cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [PATCH]add --peer-CN-regex option to the command line tool

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 4 Jun 2003 00:25:09 +0200 (CEST)

On Tue, 3 Jun 2003, Torsten Foertsch wrote:

> the patch below adds a "--peer-CN-regex <regular expression>" to the
> command line tool and a new "CURLOPT_SSLPEERREGEX" to libcurl.

[snip]

> The program is testet on Linux with GNU regexes that claim to be POSIX 2
> compliant.

Thanks for your contribution!

I like the idea and spirit of this patch, but I have a fundamental remark on
this particular implementation: I don't want us to add features to libcurl
what depends on a "POSIX 2 complient" regex library. I bet that rules out a
huge portion of the world, including Windows.

I would guess that a much simpler approach would suffice for most people,
using good old and much simpler DOS-style wildcards. Don't you agree?

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-06-04