From 2d50d1cbf5e186fa22da65a6b31c80acb9693a24 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 23 Jan 2011 01:31:04 -0500 Subject: [PATCH] Bug - The .not modifier was accidentally inverted when rc.regex=on. --- src/Att.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Att.cpp b/src/Att.cpp index 5b4aa47c3..3e90d8bcc 100644 --- a/src/Att.cpp +++ b/src/Att.cpp @@ -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))