mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- The .not modifier was accidentally inverted when rc.regex=on.
This commit is contained in:
parent
ad2614c452
commit
2d50d1cbf5
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ bool Att::match (const Att& other) const
|
|||
if (regex)
|
||||
{
|
||||
std::string pattern = "^" + mValue + "$";
|
||||
if (!regexMatch (other.mValue, pattern, case_sensitive))
|
||||
if (regexMatch (other.mValue, pattern, case_sensitive))
|
||||
return false;
|
||||
}
|
||||
else if (compare (mValue, other.mValue, (bool) case_sensitive))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue