Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48662 - in branches/release: . boost/xpressive/detail/core/matcher libs/xpressive/test
From: eric_at_[hidden]
Date: 2008-09-08 00:36:25


Author: eric_niebler
Date: 2008-09-08 00:36:23 EDT (Mon, 08 Sep 2008)
New Revision: 48662
URL: http://svn.boost.org/trac/boost/changeset/48662

Log:
merged [48661] from trunk
Properties modified:
   branches/release/ (props changed)
Text files modified:
   branches/release/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp | 3 +--
   branches/release/libs/xpressive/test/regress.txt | 6 ++++++
   2 files changed, 7 insertions(+), 2 deletions(-)

Modified: branches/release/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp
==============================================================================
--- branches/release/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp (original)
+++ branches/release/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp 2008-09-08 00:36:23 EDT (Mon, 08 Sep 2008)
@@ -177,8 +177,7 @@
             {
                 if(this->leading_)
                 {
- // BUGBUG
- state.next_search_ = boost::next(tmp);
+ state.next_search_ = (tmp == state.end_) ? tmp : boost::next(tmp);
                 }
                 return false;
             }

Modified: branches/release/libs/xpressive/test/regress.txt
==============================================================================
--- branches/release/libs/xpressive/test/regress.txt (original)
+++ branches/release/libs/xpressive/test/regress.txt 2008-09-08 00:36:23 EDT (Mon, 08 Sep 2008)
@@ -3748,3 +3748,9 @@
 br0=HighLight
 br1=Blow
 [end]
+
+[track2296]
+str=> ""
+pat=(?P<f>.+):(?P<l>[0-9]+):((?P<c>[0-9]+):)?.*
+flg=
+[end]


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