Updated regex code with tentative support for partial matches

[SVN r8160]
This commit is contained in:
John Maddock committed 2000-11-09 11:24:58 +00:00
1 parent dc38a40569
commit 4378b06e43
9 files changed
+58 -13

No files matched your search

+2 -1
View File
@@ -898,7 +898,8 @@ public:
size_type BOOST_RE_CALL size()const
{
return (*this)[0].matched ? ref->cmatches : 0;
//return (*this)[0].matched ? ref->cmatches : 0;
return ref->cmatches;
}
const sub_match<iterator>& BOOST_RE_CALL operator[](int n) const