1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 01:16:37 +02:00

m_regex_posix: use REG_ICASE

This commit is contained in:
Adam
2017-03-30 19:10:31 -04:00
parent 953e804231
commit 010d20198e
+1 -1
View File
@@ -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];