Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-12-31 14:35:58

At 06:53 AM 12/31/2003, John Maddock wrote:

>> When I rebuild the inspect program yesterday (using VC++ 7.1), it
>> to incorrectly report some files as unlinked even though they really
>> linked.
>> Here is an example of one of the missed links:
>> <td><a href=
>> 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?
>There haven't been any regex changes that would affect that in a long
>while, and as the test program below demonstrates it does find the
>match you expect in this case, so the error must be somewhere else,

Duh! I should have tested further before bothering you. The problem was
actually the change in the filesystem library that now requires paths to be
explicitly normalized. Regex was working fine.


Boost list run by bdawes at, gregod at, cpdaniel at, john at