regex: retry due to broken connection

[SVN r8171]
This commit is contained in:
John Maddock
2000-11-11 12:10:38 +00:00
parent 31c9a1f9c6
commit 680e5b9e13
4 changed files with 10 additions and 3 deletions

View File

@ -299,7 +299,7 @@ void cpp_tests(const reg_expression<C, T, A>& e, bool recurse = true)
(m[-1].first - x) << "," << (m[-1].second - x) << ") expected (0" <<
"," << matches[0] << ")" << endl;
}
if(((m[-2].first != m[0].second) || (m[-2].second != y)) && ((flags[3] & match_partial) == 0))
if(((flags[3] & match_partial) == 0) && ((m[-2].first != m[0].second) || (m[-2].second != y)))
{
begin_error();
cout << "regex++ API result mismatch in $' (match -2), found (" <<