cURL / Mailing Lists / curl-library / Single Mail


Re: Using libcurl with regex.h issue

From: Daniel Stenberg <>
Date: Sun, 22 Feb 2009 13:19:53 +0100 (CET)

On Sat, 21 Feb 2009, Chris Dickson wrote:

> I've been using libcurl for retrieving web pages and noticed an odd problem
> when I started to incorporate regular expressions into my program using
> regex.h. Before I included regex.h in the program I would be able to
> retreive a web page of any size in its entirety, but after the inclusion of
> regex.h the HTML is getting cut off at what seems like an arbitrary spot in
> the file.

So getting the docs/examples/simple.c example and putting a #include <regex.h>
at the top will cause this problem for you?

If not, what exactly is required?

What libcurl version on what platform are we talking about?

Received on 2009-02-22