cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: URL parsing

From: Roy Shan <rshan_at_viacit.com>
Date: Mon, 19 Apr 2004 17:53:08 -0500 (CDT)

Try to look at http://sourceforge.net/projects/liburi/ .

Does that meet your need?

> ----- Original Message -----
> From: "James Bursa" <bursa_at_users.sourceforge.net>
> To: <curl-library_at_cool.haxx.se>
> Sent: Monday, April 19, 2004 10:50 AM
> Subject: Re: URL parsing
>
>
>> On Monday 19 April 2004 12:40, Dimitar Panayotov wrote:
>> > or, if there are no such plans, can anyone point me to some sources
>> > which implement this?
>>
>> There's some code to do this at
>>
>> http://cvs.semichrome.net/netsurf/utils/
>>
>> in url.c and url.h. This is GPL, but I would also put this under some
>> sort
> of
>> BSD license if people wanted.
>
> The problem with this approach is, it is not portable. MSVC++, for
> example,
> does not have regex. So it would fail. So you'd need to include a GNU
> regex
> lib with your program, which I doubt most people want to do. It also
> relies
> on header files that are not available everywhere.
>
> It's a nice idea, but it's not very portable.
>
> Dominick Meglio
>
>
>>
>> James
>>
>>
>
>
>
Received on 2004-04-20