1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 06:46:38 +02:00

irc: use extended regex in command /ignore

This commit is contained in:
Sebastien Helleu
2012-01-06 13:26:58 +01:00
parent 82a9ed3f9c
commit 5a2df17141
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ Version 0.3.7 (under dev!)
hashtable_map_string, hdata_check_pointer, hdata_char, hdata_hashtable and
nicklist_get_next_item
* alias: add default alias umode => /mode $nick
* irc: use extended regex in command /list
* irc: use extended regex in commands /ignore and /list
* irc: use redirection to get channel modes after update of modes on channel,
display output of /mode #channel, allow /mode without argument (display modes
of current channel or user modes on server buffer)
+1 -1
View File
@@ -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);