$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: daniel_james_at_[hidden]
Date: 2008-03-21 12:52:40
Author: danieljames
Date: 2008-03-21 12:52:40 EDT (Fri, 21 Mar 2008)
New Revision: 43750
URL: http://svn.boost.org/trac/boost/changeset/43750
Log:
Check links in single quotes as well as double quotes.
Text files modified: 
   trunk/tools/inspect/link_check.cpp |     6 +++---                                  
   1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/tools/inspect/link_check.cpp
==============================================================================
--- trunk/tools/inspect/link_check.cpp	(original)
+++ trunk/tools/inspect/link_check.cpp	2008-03-21 12:52:40 EDT (Fri, 21 Mar 2008)
@@ -16,7 +16,7 @@
 {
   boost::regex url_regex(
     "<\\s*[^>]*\\s+(?:HREF|SRC)" // HREF or SRC
-    "\\s*=\\s*\"([^\"]*)\"",
+    "\\s*=\\s*(['\"])(.*?)\\1",
     boost::regbase::normal | boost::regbase::icase);
 
 } // unnamed namespace
@@ -66,8 +66,8 @@
       while( boost::regex_search( start, end, what, url_regex, flags) )
       {
         // what[0] contains the whole string iterators.
-        // what[1] contains the URL iterators.
-        do_url( string( what[1].first, what[1].second ),
+        // what[2] contains the URL iterators.
+        do_url( string( what[2].first, what[2].second ),
           library_name, full_path, no_link_errors );
 
         start = what[0].second; // update search position