Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-05-11 11:06:57


Author: danieljames
Date: 2008-05-11 11:06:57 EDT (Sun, 11 May 2008)
New Revision: 45286
URL: http://svn.boost.org/trac/boost/changeset/45286

Log:
When replacing links to LICENSE_*.txt avoid changing test outside of the link.
Text files modified:
   website/public_html/beta/common/code/boost_archive.php | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: website/public_html/beta/common/code/boost_archive.php
==============================================================================
--- website/public_html/beta/common/code/boost_archive.php (original)
+++ website/public_html/beta/common/code/boost_archive.php 2008-05-11 11:06:57 EDT (Sun, 11 May 2008)
@@ -239,7 +239,7 @@
             'href="/users/people/${1}l"',
             $text );
         $text = preg_replace(
- '@href="?(?:\.\./)+(LICENSE_.*\.txt)"?@i',
+ '@href="?(?:\.\./)+(LICENSE_[^"\s]*\.txt)"?@i',
             'href="/${1}"',
             $text );
         $text = preg_replace(


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk