summaryrefslogtreecommitdiff
path: root/src/stringutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stringutils.h')
-rw-r--r--src/stringutils.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/stringutils.h b/src/stringutils.h
index 3cbcdb9..c34b8c7 100644
--- a/src/stringutils.h
+++ b/src/stringutils.h
@@ -25,9 +25,11 @@
#include "stringvector.h"
+#include <string>
#include <sstream>
#include <list>
#include <set>
+#include <regex>
#include "localconsts.h"
@@ -237,7 +239,12 @@ bool isDigit(const std::string &str);
void secureChatCommand(std::string &str);
-bool isMatch(const std::string &str, const std::string &exp);
+bool isMatch(const std::string &str,
+ const std::string &exp);
+
+bool isMatch(const std::string &str,
+ const std::string &exp,
+ std::smatch &m);
bool fileExists(const std::string &name);