summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/extra/m_regex_posix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_regex_posix.cpp b/modules/extra/m_regex_posix.cpp
index 4d3059718..8cf6f882a 100644
--- a/modules/extra/m_regex_posix.cpp
+++ b/modules/extra/m_regex_posix.cpp
@@ -17,7 +17,7 @@ class POSIXRegex : public Regex
public:
POSIXRegex(const Anope::string &expr) : Regex(expr)
{
- int err = regcomp(&this->regbuf, expr.c_str(), REG_EXTENDED | REG_NOSUB);
+ int err = regcomp(&this->regbuf, expr.c_str(), REG_EXTENDED | REG_NOSUB | REG_ICASE);
if (err)
{
char buf[BUFSIZE];