summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/StringUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/IceUtil/StringUtil.h')
-rw-r--r--cpp/include/IceUtil/StringUtil.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/include/IceUtil/StringUtil.h b/cpp/include/IceUtil/StringUtil.h
index 16325a4489f..c5ceaa45326 100644
--- a/cpp/include/IceUtil/StringUtil.h
+++ b/cpp/include/IceUtil/StringUtil.h
@@ -35,6 +35,14 @@ ICE_UTIL_API bool unescapeString(const std::string&, std::string::size_type, std
//
ICE_UTIL_API std::string::size_type checkQuote(const std::string&, std::string::size_type = 0);
+//
+// Match `s' against the pattern `pat'. A * in the pattern acts
+// as a wildcard: it matches any non-empty sequence of characters
+// other than a period (`.'). We match by hand here because
+// it's portable across platforms (whereas regex() isn't).
+//
+ICE_UTIL_API bool match(const std::string&, const std::string&);
+
}
#endif