mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Variant
- ::operator_match disobeyed rc.search.case.sensitive.
This commit is contained in:
parent
ac07189941
commit
7196ac8554
4 changed files with 6 additions and 19 deletions
|
@ -37,6 +37,7 @@
|
|||
#include <text.h>
|
||||
|
||||
std::string Variant::dateFormat = "";
|
||||
bool Variant::searchCaseSensitive = true;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Variant::Variant ()
|
||||
|
@ -753,7 +754,7 @@ bool Variant::operator_match (const Variant& other) const
|
|||
left.cast (type_string);
|
||||
right.cast (type_string);
|
||||
|
||||
RX r (right._string, true);
|
||||
RX r (right._string, searchCaseSensitive);
|
||||
return r.match (left._string);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue