return false;
}
- return true;
+ /* MatchAny: Nothing matched. MatchAll: Everything matched. */
+ return mode == MatchAll;
} else {
String text = argTexts;
boost::smatch what;
return false;
}
- return true;
+ /* MatchAny: Nothing matched. MatchAll: Everything matched. */
+ return mode == MatchAll;
} else {
String text = argTexts;
return Utility::Match(pattern, argTexts);
return false;
}
- return true;
+ /* MatchAny: Nothing matched. MatchAll: Everything matched. */
+ return mode == MatchAll;
} else {
String ip = argIps;
return Utility::CidrMatch(pattern, ip);