summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-01-06 13:26:58 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-01-06 13:26:58 +0100
commit5a2df17141cfde16d0f9d629cf83d11d16ac6039 (patch)
tree3c6e83ca82627d3caeaa253b101ee97885acb962 /src
parent82a9ed3f9c817fa4439062ae1a3fa86de351783b (diff)
downloadweechat-5a2df17141cfde16d0f9d629cf83d11d16ac6039.zip
irc: use extended regex in command /ignore
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-ignore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-ignore.c b/src/plugins/irc/irc-ignore.c
index eed8b20d3..aebbbd4a1 100644
--- a/src/plugins/irc/irc-ignore.c
+++ b/src/plugins/irc/irc-ignore.c
@@ -146,7 +146,7 @@ irc_ignore_new (const char *mask, const char *server, const char *channel)
return NULL;
}
- if (regcomp (regex, complete_mask, REG_NOSUB | REG_ICASE) != 0)
+ if (regcomp (regex, complete_mask, REG_NOSUB | REG_ICASE | REG_EXTENDED) != 0)
{
free (regex);
free (complete_mask);