Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-12-30 08:34:46


When I rebuild the inspect program yesterday (using VC++ 7.1), it started
to incorrectly report some files as unlinked even though they really are
linked.

Here is an example of one of the missed links:

     <td><a href=
     "../tools/build/v1/borland-tools.html"><code>borland</code></a></td>

A dump of the file shows the line endings are cr/nl.

The regex that used to find this OK is:

   boost::regex url_regex(
     "<\\s*"
     "(?:A\\s+[^>]*HREF|FRAME\\s+SRC)" // A HREF or FRAME SRC
     "\\s*=\\s*\"([^\"]*)\"",
     boost::regbase::normal | boost::regbase::icase);

Any ideas?

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk