mirror of
https://github.com/boostorg/regex.git
synced 2025-07-15 13:26:38 +02:00
Added members RegEx::Match and RegEx::npos.
[SVN r12243]
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user