Update of /cvsroot/boost/boost/boost/xpressive/detail/core/matcher
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5518/detail/core/matcher

Modified Files:
        lookahead_matcher.hpp lookbehind_matcher.hpp 
Log Message:
add transforms for look-ahead, look-behind, and keeper

Index: lookahead_matcher.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/xpressive/detail/core/matcher/lookahead_matcher.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- lookahead_matcher.hpp       22 Mar 2007 17:37:16 -0000      1.7
+++ lookahead_matcher.hpp       5 Apr 2007 23:56:25 -0000       1.8
@@ -40,6 +40,11 @@
         {
         }
 
+        void inverse()
+        {
+            this->not_ = !this->not_;
+        }
+
         template<typename BidiIter, typename Next>
         bool match(state_type<BidiIter> &state, Next const &next) const
         {

Index: lookbehind_matcher.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/xpressive/detail/core/matcher/lookbehind_matcher.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- lookbehind_matcher.hpp      22 Mar 2007 17:37:16 -0000      1.7
+++ lookbehind_matcher.hpp      5 Apr 2007 23:56:25 -0000       1.8
@@ -43,6 +43,11 @@
                 "Variable-width look-behind assertions are not supported");
         }
 
+        void inverse()
+        {
+            this->not_ = !this->not_;
+        }
+
         template<typename BidiIter, typename Next>
         bool match(state_type<BidiIter> &state, Next const &next) const
         {


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to