Bug
- The .not modifier was accidentally inverted when rc.regex=on.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user