diff --git a/include/boost/cregex.hpp b/include/boost/cregex.hpp index a5701921..f280a2c6 100644 --- a/include/boost/cregex.hpp +++ b/include/boost/cregex.hpp @@ -271,11 +271,14 @@ public: // unsigned int Position(int i = 0)const; unsigned int Length(int i = 0)const; + bool Matched(int i = 0)const; unsigned int Line()const; unsigned int Marks()const; std::string What(int i = 0)const; std::string operator[](int i)const { return What(i); } + static const unsigned int npos; + friend struct re_detail::pred1; friend struct re_detail::pred2; friend struct re_detail::pred3;