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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user