Expressions - hasnt (!~)

- The operator_nomatch was not properly defaulting a "true" result.
- Improved signal to noise ratio in bug.hasnt.t.
- Removed obsolete entries in ANALYSIS file.
This commit is contained in:
Paul Beckingham 2011-09-07 00:54:46 -04:00
parent 5a07dce93a
commit b9ad044eef
3 changed files with 12 additions and 31 deletions

View file

@ -547,6 +547,7 @@ void E9::operator_nomatch (
const Task& task)
{
result._type = Arg::type_bool;
result._value = "true";
if (eval_match (left, right, case_sensitive))
{
@ -571,8 +572,6 @@ void E9::operator_nomatch (
}
}
}
else
result._value = "true";
// std::cout << "# " << left << " <operator_nomatch> " << right << " --> " << result << "\n";
}