Added members RegEx::Match and RegEx::npos.

[SVN r12243]
This commit is contained in:
John Maddock
2002-01-07 13:02:37 +00:00
parent 534f6273c0
commit e4138b5bdc

View File

@ -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;