curl-users
Re: [PATCH]add --peer-CN-regex option to the command line tool
Date: Tue, 03 Jun 2003 19:10:42 -0400
Daniel Stenberg wrote:
> 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?
>
Why not use PCRE (http://www.pcre.org/)? Compatible license. POSIX
compatible (as well as Perl compatible which is better). There's a
Windows port. Given the list of other open-source tools using it:
> PCRE was originally written for the Exim MTA, but is now used by many high-profile open source projects, including Python, Apache, PHP, KDE, ...
It would appear portability is not a problem. Couldn't there just be a
--with-pcre in configure?
MB
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
Received on 2003-06-04