See issue 26

https://github.com/frachop/hubic-backup/issues/26
This commit is contained in:
Franck Chopin
2019-06-11 14:08:52 +02:00
committed by GitHub
parent cfe118ead4
commit 615fe0b105
+2
View File
@@ -46,6 +46,8 @@ static void EscapeRegex(std::string &regex)
boost::replace_all(regex, "+", "\\+");
boost::replace_all(regex, "?", "\\?");
boost::replace_all(regex, "/", "\\/");
boost::replace_all(regex, "{", "\\{");
boost::replace_all(regex, "}", "\\}");
}
bool matchTextWithWildcards(const std::string &text, std::string wildcardPattern, bool caseSensitive /*= true*/)