mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-04 03:18:33 +02:00
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:
parent
5a07dce93a
commit
b9ad044eef
3 changed files with 12 additions and 31 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue